blob: 93d33bc0e84e20e0493a234b17381fd93dfbd5c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (Artix): Chris Cromer <chris@cromer.cl>
_url="https://github.com/artix-linux/opensysusers/archive"
pkgname=opensysusers
pkgver=0.3.1
pkgrel=1.parabola1
pkgdesc="A standalone utility for handling systemd-style sysusers.d users and groups"
arch=('any')
url="https://github.com/artix-linux/opensysusers"
license=('BSD2')
groups=('openrc-base' 'base-openrc')
depends=('shadow')
optdepends=('openrc: update automatically on boot')
source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz"
'opensysusers.hook')
sha512sums=('f2c6969f8b6730ae7e64501bc277e8647da052e477850b3f6c02249106245b791fa9192ca8b711bf50dd35b164ac0d29ea4095c1b68b4ebc2a06c741a3ca03ea'
'1f5d110e0575ac41b66b3710e26a85cb9806589fb543c2ffaed81643225de0e23d473342931c12dd725e3b4744a5fb71b7bb9c5731dc0a7dfb02add019acebc9')
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"
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"
}
|