summaryrefslogtreecommitdiff
path: root/nonsystemd
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-11-14 15:27:33 -0300
committerDavid P <megver83@parabola.nu>2019-11-14 15:27:49 -0300
commita77def2444ca217bf662b4af1030ae18e296eafb (patch)
tree22f78e0a04226b815c55fd0322938a1b5eecadcf /nonsystemd
parentf84891547628082a14e5390bc38fd8298c1165a4 (diff)
nonsystemd/opensysusers: install openrc init script
I'll remove the opensysusers.initd from nonsystemd/openrc because it has nothing to do there, and also opentmpfiles btw, as both opensysusers and opentmpfiles are supposed to replace systemd's sysusers and tmpfiles, I decided to leave the symlinks inside the packages instead of splitting them Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd')
-rw-r--r--nonsystemd/opensysusers/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/nonsystemd/opensysusers/PKGBUILD b/nonsystemd/opensysusers/PKGBUILD
index 384cb873e..b1cefab23 100644
--- a/nonsystemd/opensysusers/PKGBUILD
+++ b/nonsystemd/opensysusers/PKGBUILD
@@ -7,7 +7,7 @@
pkgbase=opensysusers
pkgname=(opensysusers opensysusers-docs)
pkgver=0.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="A standalone utility for handling systemd-style sysusers.d users and groups"
arch=('any')
url="https://gitea.artixlinux.org/artix/opensysusers"
@@ -27,7 +27,7 @@ prepare(){
build(){
cd "${pkgbase}"
- make PREFIX=/usr HAVEOPENRC=no
+ make PREFIX=/usr HAVEOPENRC=yes
}
package_opensysusers() {
@@ -35,7 +35,7 @@ package_opensysusers() {
replaces=('opensysusers-systemdcompat')
cd "${pkgbase}"
- make PREFIX=/usr DESTDIR="${pkgdir}" install-shared install-default-bin
+ make PREFIX=/usr DESTDIR="${pkgdir}" install-shared install-default-bin install-openrc
# pacman hooks
install -Dm755 ${srcdir}/sysusers-hook "$pkgdir"/usr/share/libalpm/scripts/sysusers-hook