summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 15 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6375952aab..755bcfd0501 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = opensysusers
pkgdesc = A standalone utility for handling systemd-style sysusers.d users and groups
- pkgver = 0.3.2
- pkgrel = 2
+ pkgver = 0.4.5
+ pkgrel = 1
url = https://github.com/artix-linux/opensysusers
arch = any
license = custom:BSD2
depends = shadow
depends = openrc
- source = opensysusers-0.3.2.tar.gz::https://github.com/artix-linux/opensysusers/archive/0.3.2.tar.gz
+ source = opensysusers-0.4.5.tar.gz::https://github.com/artix-linux/opensysusers/archive/0.4.5.tar.gz
source = opensysusers.hook
- sha256sums = 0a3ffb2bf5a3baa9bd49ef522d4bef7fbfa2f51ca6cce24d6354a7ae3c0344d8
+ sha256sums = b0dc09caf5f97a2e9156716809e74835d0fecbf0432c6cec4626a943e8e58bd4
sha256sums = 90fdf362a29138f1ed65e86e8b97d1251adb6b2e94d829cceb0094a63d00252a
pkgname = opensysusers
diff --git a/PKGBUILD b/PKGBUILD
index 22e3391f549..c0c5b0dcb1e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
_url="https://github.com/arch-openrc/opensysusers/archive"
pkgname=opensysusers
-pkgver=0.3.2
-pkgrel=2
+pkgver=0.4.5
+pkgrel=1
pkgdesc="A standalone utility for handling systemd-style sysusers.d users and groups"
arch=('any')
url="https://github.com/artix-linux/opensysusers"
@@ -13,13 +13,19 @@ license=('custom:BSD2')
depends=('shadow' 'openrc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/artix-linux/opensysusers/archive/$pkgver.tar.gz"
'opensysusers.hook')
-sha256sums=('0a3ffb2bf5a3baa9bd49ef522d4bef7fbfa2f51ca6cce24d6354a7ae3c0344d8'
+sha256sums=('b0dc09caf5f97a2e9156716809e74835d0fecbf0432c6cec4626a943e8e58bd4'
'90fdf362a29138f1ed65e86e8b97d1251adb6b2e94d829cceb0094a63d00252a')
+
+build() {
+ cd $pkgname-$pkgver
+ make PREFIX="/usr" SYSTEMDCOMPAT=FALSE
+}
+
package() {
cd $pkgname-$pkgver
- make bindir="/usr/bin" DESTDIR="$pkgdir" install
+ make PREFIX="/usr" SYSTEMDCOMPAT=FALSE DESTDIR="$pkgdir" install
install -Dm755 openrc/opensysusers.initd "$pkgdir"/etc/openrc/init.d/opensysusers
install -Dm644 "$srcdir"/opensysusers.hook "$pkgdir"/usr/share/libalpm/hooks/opensysusers.hook
- install -Dm644 license "$pkgdir"/usr/share/licenses/opensysusers/license
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/opensysusers/license
}