summaryrefslogtreecommitdiffstats
path: root/http/palemoon/PRE_BUILD
blob: 282d79ce03ce00e1328241a82c5253c8ac96b23d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mk_source_dir "${SOURCE_DIRECTORY}" &&
cd "${SOURCE_DIRECTORY}" &&
verify_file &&

7z x "${SOURCE_CACHE}/${SOURCE}" > /dev/null &&

# resurrect permissions not stored by 7zip
find . -type d -exec chmod 755 '{}' \; &&
find . -type f -exec chmod 644 '{}' \; &&
find . -name '*.sh' -exec chmod +x {} \; &&
chmod -R +x build/autoconf/* python/* &&

if is_depends_enabled $SPELL cairo; then
  patch -p0 < "${SPELL_DIRECTORY}/cairo-system.patch"
fi