diff options
-rw-r--r-- | nonsystemd/opentmpfiles/PKGBUILD | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nonsystemd/opentmpfiles/PKGBUILD b/nonsystemd/opentmpfiles/PKGBUILD index 25a366aac..c6dc9824f 100644 --- a/nonsystemd/opentmpfiles/PKGBUILD +++ b/nonsystemd/opentmpfiles/PKGBUILD @@ -4,7 +4,7 @@ pkgname=opentmpfiles pkgver=0.2 -pkgrel=1 +pkgrel=2 pkgdesc="A standalone utility for handling systemd-style tmpfiles.d settings" arch=('any') url="https://github.com/OpenRC/opentmpfiles" @@ -31,7 +31,17 @@ package_opentmpfiles() { ln -snf "/usr/bin/tmpfiles" "${pkgdir}/usr/bin/systemd-tmpfiles" + install -d "${pkgdir}"/etc/{conf,init}.d "${pkgdir}"/etc/runlevels/{boot,sysinit} + + install -m755 openrc/opentmpfiles-dev.confd "${pkgdir}"/etc/conf.d/opentmpfiles-dev + install -m755 openrc/opentmpfiles-dev.initd "${pkgdir}"/etc/init.d/opentmpfiles-dev + + install -m755 openrc/opentmpfiles-setup.confd "${pkgdir}"/etc/conf.d/opentmpfiles-setup + install -m755 openrc/opentmpfiles-setup.initd "${pkgdir}"/etc/init.d/opentmpfiles-setup + + ln -snf /etc/init.d/opentmpfiles-dev "${pkgdir}"/etc/runlevels/sysinit/opentmpfiles-dev + ln -snf /etc/init.d/opentmpfiles-setup "${pkgdir}"/etc/runlevels/boot/opentmpfiles-setup + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 "license" "${pkgdir}/usr/share/licenses/${pkgname}/" } - |