From 3f7968e8ffaa8ab7140a2afc7ee0b148c3f1b883 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 8 Jun 2021 09:04:17 -0400 Subject: opensysusers - wip --- nonsystemd/opensysusers/PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'nonsystemd/opensysusers/PKGBUILD') 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) -- cgit v1.2.3