summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLW-archlinux2018-04-10 13:38:59 +0200
committerLW-archlinux2018-04-10 13:38:59 +0200
commit9c2623f28d3fc0abc6a4a152be0ed7c01cecf6e6 (patch)
tree76edacdf9cfb82450c83f3d2fb333c66f15fd232 /PKGBUILD
parente7a109ef8ad195b7159402f6545ea5db7dcb871b (diff)
downloadaur-9c2623f28d3fc0abc6a4a152be0ed7c01cecf6e6.tar.gz
updated to 0.4.5
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 11 insertions, 5 deletions
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
}