Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage4/python/DESCR
blob: 34cd9f140bae101b43b4e658b835eff7adc96a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# remove dependency on most things, we want only a simple interpreter
# a little bit smarter than a shell for building and code generation
sed -i "/makedepends=/s/'tk'//" PKGBUILD
sed -i "/makedepends=/s/'bluez-libs'//" PKGBUILD
sed -i "/makedepends=/s/'llvm'//" PKGBUILD

# do not start X servers just for building software!
sed -i "/makedepends=/s/'xorg-server-xvfb'//" PKGBUILD
sed -i "s/\(export servernum=99\)/#\1/" PKGBUILD
sed -i "s/\(while\)/#\1/" PKGBUILD
sed -i 's@LC_CTYPE=en_US.UTF-8 xvfb-run -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"@LC_CTYPE=en_US.UTF-8 make EXTRA_CFLAGS="$CFLAGS"@g' PKGBUILD

# skip check(), regression testing was done before
SKIP_CHECK=1