summaryrefslogtreecommitdiff
path: root/pcr/opensysusers/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/opensysusers/PKGBUILD')
-rw-r--r--pcr/opensysusers/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/pcr/opensysusers/PKGBUILD b/pcr/opensysusers/PKGBUILD
index 79a2a6949..14eafad0f 100644
--- a/pcr/opensysusers/PKGBUILD
+++ b/pcr/opensysusers/PKGBUILD
@@ -6,12 +6,11 @@
pkgbase=opensysusers
pkgname=('opensysusers' 'opensysusers-systemdcompat')
pkgver=0.4.8
-pkgrel=1
+pkgrel=2
pkgdesc="A standalone utility to handle systemd-style sysusers.d files"
arch=('any')
url="https://github.com/artix-linux/opensysusers"
license=('BSD2')
-groups=('base-openrc')
makedepends=('docbook-xsl')
depends=('shadow')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/artix-linux/${pkgname}/archive/${pkgver}.tar.gz"
@@ -26,7 +25,10 @@ build() {
}
package_opensysusers() {
+ groups=('base-openrc')
+
cd "$srcdir/$pkgbase-$pkgver"
+ install -d "$pkgdir"/usr/bin
make PREFIX=/usr HAVESYSTEMD=no HAVEOPENRC=yes HAVEMAN=yes DESTDIR="$pkgdir" install
find "$pkgdir" -type f -name 'systemd-*' -delete
find "$pkgdir" -depth -type d -empty -exec rmdir -- {} \;