summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-11 16:26:16 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-11 16:26:16 -0500
commitc410a7ec83f367672ba7900bdb633ebca3090415 (patch)
treefbaa25a74bcb1798f9db209db6266a0685816834 /pcr
parentb4967192e57c443f8be0635e36a00e0803656c18 (diff)
downloadabslibre-c410a7ec83f367672ba7900bdb633ebca3090415.tar.gz
abslibre-c410a7ec83f367672ba7900bdb633ebca3090415.tar.bz2
abslibre-c410a7ec83f367672ba7900bdb633ebca3090415.zip
opensysusers-0.2.1-2.parabola1: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/opensysusers/PKGBUILD26
-rw-r--r--pcr/opensysusers/opensysusers.hook6
2 files changed, 17 insertions, 15 deletions
diff --git a/pcr/opensysusers/PKGBUILD b/pcr/opensysusers/PKGBUILD
index 2bf04e3ae..1ecb7490f 100644
--- a/pcr/opensysusers/PKGBUILD
+++ b/pcr/opensysusers/PKGBUILD
@@ -1,28 +1,30 @@
-# Maintainer (Manjaro): Chris Cromer <chris@cromer.cl>
+# Maintainer (Artix): Chris Cromer <chris@cromer.cl>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_url="https://github.com/arch-openrc/opensysusers/archive"
+_url="https://github.com/artix-linux/opensysusers/archive"
pkgname=opensysusers
-pkgver=0.2
-pkgrel=2
+pkgver=0.2.1
+pkgrel=2.parabola1
pkgdesc="A standalone utility for handling systemd-style sysusers.d users and groups"
arch=('any')
-url="https://github.com/arch-openrc/opensysusers"
+url="https://github.com/artix-linux/opensysusers"
license=('BSD2')
groups=('openrc-base')
depends=('shadow')
optdepends=('openrc: update automatically on boot')
source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz"
'opensysusers.hook')
-sha256sums=('1094e1120b005110c9e972b7ff391b82707f78f57753b2785a801a64cc7f4e48'
- '766ff3fe9be2e31ace5798a112d7bc2b1bee25e76d25aeb6edef8a620d2eae4a')
+sha256sums=('1cbd13df62eeea65ad65e8abf5c7025929dbdc5a33be9ad6b19850bf54ab58f1'
+ '90fdf362a29138f1ed65e86e8b97d1251adb6b2e94d829cceb0094a63d00252a')
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make bindir="/usr/bin" DESTDIR="${pkgdir}" install
- install -vDm0755 openrc/opensysusers.initd "${pkgdir}"/etc/init.d/opensysusers
- install -vDm0644 "${srcdir}"/opensysusers.hook "${pkgdir}/usr/share/libalpm/hooks/opensysusers.hook"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make bindir="/usr/bin" DESTDIR="${pkgdir}" install
+# install -vDm0755 openrc/opensysusers.initd "${pkgdir}"/etc/init.d/opensysusers
+ install -vDm0644 "${srcdir}"/opensysusers.hook "${pkgdir}/usr/share/libalpm/hooks/opensysusers.hook"
- ln -snf "/usr/bin/sysusers" "${pkgdir}/usr/bin/systemd-sysusers"
+ ln -snf "/usr/bin/sysusers" "${pkgdir}/usr/bin/systemd-sysusers"
+# install -dm0755 "${pkgdir}/etc/runlevels/boot"
+# ln -snf "/etc/init.d/opensysusers" "${pkgdir}/etc/runlevels/boot/opensysusers"
}
diff --git a/pcr/opensysusers/opensysusers.hook b/pcr/opensysusers/opensysusers.hook
index 7e67758ca..c5360d786 100644
--- a/pcr/opensysusers/opensysusers.hook
+++ b/pcr/opensysusers/opensysusers.hook
@@ -2,9 +2,9 @@
Type = File
Operation = Install
Operation = Upgrade
-Target = usr/lib/sysusers.d/*/
-Target = etc/sysusers.d/*/
-Target = run/sysusers.d/*/
+Target = usr/lib/sysusers.d/*
+Target = etc/sysusers.d/*
+Target = run/sysusers.d/*
[Action]
Description = Updating system users and groups