summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/openrc/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index b54ee0912..4bb0d9d02 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -23,7 +23,7 @@ source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/OpenRC/openrc/archive/$
sha512sums=('655a0a32650ed46998ae84473e8a82aadd9de09904c5173cd9b9e2500fc8935e96539672b513a883c077ae862ece12ab768d4f379dbeb4389a7067ce7121dc0d'
'690612fddfb2c4cf8f6b5ba7239b9faf29eb3d9b152ab4dcf62694aa2852780440d08cee56d98a9597607f446b3697c911269562821a8402bb5747cbbae34bd9')
-_args=(
+_makeargs=(
BRANDING='Parabola GNU/Linux-libre'
SYSCONFDIR=/etc
PREFIX=/usr
@@ -44,7 +44,7 @@ prepare(){
build(){
cd "${srcdir}/${pkgbase}-${pkgver}"
- make "${_args[@]}"
+ make "${_makeargs[@]}"
}
package_openrc() {
@@ -62,7 +62,7 @@ package_openrc() {
cd "${srcdir}/${pkgbase}-${pkgver}"
- make DESTDIR="${pkgdir}" "${_args[@]}" install
+ make DESTDIR="${pkgdir}" "${_makeargs[@]}" install
install -Dm644 "${srcdir}/${pkgbase}.logrotate" "${pkgdir}/etc/logrotate.d/${pkgbase}"
@@ -90,7 +90,7 @@ package_openrc() {
}
package_openrc-init() {
- pkgdesc="OpenRC replacement for /sbin/init"
+ pkgdesc="OpenRC alternative to sysvinit"
depends=('openrc')
provides=('init')
groups=('init')
@@ -102,7 +102,8 @@ package_openrc-init() {
-d ${pkgdir}/etc/conf.d/ \
-d ${pkgdir}/etc/init.d/ \
-d ${pkgdir}/etc/runlevels/default/
-
+
+ local bin
for bin in shutdown reboot halt poweroff openrc-init init openrc-shutdown; do
mv -v ${bin} ${pkgdir}/usr/bin/${bin}
done