blob: 2e493e1c62096df5bc1f6f4e635bcb89cb87bf10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# no doxygen documentation
sed -i "/makedepends=/s/doxygen//" PKGBUILD
sed -i 's/doc-man-doxygen//' PKGBUILD
sed -i 's/doc-install-man//' PKGBUILD
sed -i '/# make documentation/{n;s/make/#make/}' PKGBUILD
sed -i '/# install the libstdc++ man pages/{n;s/make/#make/}' PKGBUILD
# no ADA
sed -i "/makedepends=/s/gcc-ada//" PKGBUILD
sed -i '/pkgname/ s/gcc-ada//g' PKGBUILD
sed -i '/enable-languages/ s/ada//g' PKGBUILD
# rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info
sed -i 's/,gnat-style,gnat_rm,gnat_ugn//' PKGBUILD
|