summaryrefslogtreecommitdiff
path: root/nonsystemd
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-06-08 09:04:17 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-07-19 15:35:59 -0400
commit3f7968e8ffaa8ab7140a2afc7ee0b148c3f1b883 (patch)
tree5795d9e5313b97cceffe79d1b43779dfb76be2c4 /nonsystemd
parentceabb79eb28b9542df19a911e98c595db2e622a9 (diff)
downloadabslibre-3f7968e8ffaa8ab7140a2afc7ee0b148c3f1b883.tar.gz
abslibre-3f7968e8ffaa8ab7140a2afc7ee0b148c3f1b883.tar.bz2
abslibre-3f7968e8ffaa8ab7140a2afc7ee0b148c3f1b883.zip
opensysusers - wip
Diffstat (limited to 'nonsystemd')
-rw-r--r--nonsystemd/opensysusers/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/nonsystemd/opensysusers/PKGBUILD b/nonsystemd/opensysusers/PKGBUILD
index f74d4b400..562adf48a 100644
--- a/nonsystemd/opensysusers/PKGBUILD
+++ b/nonsystemd/opensysusers/PKGBUILD
@@ -21,7 +21,12 @@ sha256sums=('bd9ea8ea60b269e3db0f0f96cb700bb64306644f9c5dc9a6253a184294f30726'
'8085d3f8e7b2030cef5e0f50622121ea161a2d9d087664f0a11d36f275b24970'
'4222b2496d8bb1ac9c07707e4ef1b334b8b59eb15451ea8ba0fd6e4c93e50c56')
-build(){
+prepare() {
+ cd "${pkgbase}"
+ sed -i 's|$(INITD): $(INITD).in|$(INITD): openrc/$(INITD).in|' Makefile
+}
+
+build() {
cd "${pkgbase}"
make PREFIX=/usr HAVEOPENRC=yes
}
@@ -43,7 +48,7 @@ package_opensysusers() {
ln -snf /etc/init.d/opensysusers "${pkgdir}"/etc/runlevels/boot/opensysusers
}
-package_opensysusers-docs(){
+package_opensysusers-docs() {
pkgdesc="Opensysusers manpages"
depends=('opensysusers')
replaces=(opensysusers-manpages)