summaryrefslogtreecommitdiffstats
path: root/http/palemoon/PRE_BUILD
blob: 05e58edb32ad01520688d2a4afe489a073f39ae9 (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 build/autoconf -type f -not -name '*.m4' -exec chmod +x '{}' \; &&
chmod +x python/mozbuild/mozbuild/mozconfig_loader &&

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