blob: a542c399bc352c76dcb3c0b7db873d9d1fe7276f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# disable python
sed -i "/makedepends=/s/python2//" PKGBUILD
sed -i "s/make PYTHON=python2/make/" PKGBUILD
# take git from the host
sed -i "/makedepends=/s/git//" PKGBUILD
# no documentation
sed -i "/makedepends=/s/asciidoc//" PKGBUILD
# no upx compression
sed -i "/makedepends=/s/upx//" PKGBUILD
# use the cross compiler
sed -i "s/\(make \$_targets\)/\1 CC=$TARGET_ARCH-gcc AS=$TARGET_ARCH-as LD=$TARGET_ARCH-ld AR=$TARGET_ARCH-ar/" PKGBUILD
|