index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-23 21:08:05 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-23 21:08:05 +0100 |
commit | 22a9db79089c54823ae36ee2e20615ac70ab7f40 (patch) | |
tree | 471cd831b98310f17d1b745ed8296fc75e0dc05a /i486-stage2/shadow | |
parent | 02a07b1846dd61be1df300f345143e5462caa7ae (diff) |
-rw-r--r-- | i486-stage2/shadow/DESCR | 18 |
diff --git a/i486-stage2/shadow/DESCR b/i486-stage2/shadow/DESCR new file mode 100644 index 0000000..e9f6de8 --- /dev/null +++ b/i486-stage2/shadow/DESCR @@ -0,0 +1,18 @@ +# remove docu and git dependencies +sed -i "/makedepends=/s/'git'//" PKGBUILD +sed -i "/makedepends=/s/'libxslt'//" PKGBUILD +sed -i "/makedepends=/s/'docbook-xsl'//" PKGBUILD +sed -i "/makedepends=/s/'gnome-doc-utils'//" PKGBUILD + +# building man pages needs xml2po, disable it +sed -i 's@--enable-man@--disable-man@g' PKGBUILD +sed -i '/find/,/-delete/{s/\(.*\)/#\1/g}' PKGBUILD +sed -i '/rmdir/,/man8/{s/\(.*\)/#\1/g}' PKGBUILD +# counterspells, yes I know, I'm bad with sed +sed -i 's/^#}/}/' PKGBUILD +# shadow: /usr/sbin exists in filesystem +# revert last rmdir commenting of /usr/sbin removal +sed -i 's@^# \+rmdir \+"$pkgdir/usr/sbin"@ rmdir "$pkgdir/usr/sbin"@' PKGBUILD + +sed -i '2!N; /prepare()/ a \ sed -i "/SUBDIRS/s/man//g" Makefile.am' PKGBUILD + |