Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage4/shadow/DESCR
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-24 20:46:44 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-24 20:46:44 +0100
commit76c4f1be65af6a459f23509276b4bf818a9bfd37 (patch)
tree86050550f793f307fa5c9aaee632b9f4af23b7c3 /i486-stage4/shadow/DESCR
parenta8c1cb496f598dc362161d1105396f805167f663 (diff)
building up to linux in stage4
Diffstat (limited to 'i486-stage4/shadow/DESCR')
-rw-r--r--i486-stage4/shadow/DESCR14
1 files changed, 14 insertions, 0 deletions
diff --git a/i486-stage4/shadow/DESCR b/i486-stage4/shadow/DESCR
new file mode 100644
index 0000000..2e18396
--- /dev/null
+++ b/i486-stage4/shadow/DESCR
@@ -0,0 +1,14 @@
+# remove dependency on Gnome
+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