diff options
Diffstat (limited to 'nonsystemd/opensysusers/PKGBUILD')
-rw-r--r-- | nonsystemd/opensysusers/PKGBUILD | 9 |
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) |