blob: 7a7ecb810d736cb72f055724b1b84338ec4a77db (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# prepare configure for cross-compilation
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
# remove all fonts and ghostscript (we don't build the manual)
sed -i "/makedepends=/s/perl-font-ttf//" PKGBUILD
sed -i "/makedepends=/s/perl-sort-versions//" PKGBUILD
sed -i "/makedepends=/s/fontconfig//" PKGBUILD
sed -i "/makedepends=/s/adobe-source-sans-pro-fonts//" PKGBUILD
sed -i "/makedepends=/s/ttf-liberation//" PKGBUILD
sed -i "/makedepends=/s/ghostscript//" PKGBUILD
sed -i "s/\(make -C doc\)/#\1/" PKGBUILD
|