diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-03 20:14:22 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-03 20:14:22 +0100 |
commit | 0eb0a8e2998e3a25b76f1b39b8f3e8cbe303e367 (patch) | |
tree | 948ba986b47dc3c29074d94e952ac56ef3b18e56 /i486-stage3/shadow/DESCR | |
parent | 499cf4bdd6ed942cafad91edcdfc60af30f98939 (diff) | |
download | bootstrap32-0eb0a8e2998e3a25b76f1b39b8f3e8cbe303e367.tar.xz |
building quite some more stage3 packages
Diffstat (limited to 'i486-stage3/shadow/DESCR')
-rw-r--r-- | i486-stage3/shadow/DESCR | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/i486-stage3/shadow/DESCR b/i486-stage3/shadow/DESCR new file mode 100644 index 0000000..e9f6de8 --- /dev/null +++ b/i486-stage3/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 + |