summaryrefslogtreecommitdiff
path: root/pcr/openrc
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc')
-rw-r--r--pcr/openrc/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index 6550e0557..1d0488fe4 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -6,7 +6,7 @@ _rc_uri="https://github.com/OpenRC/openrc/archive"
pkgname=openrc
pkgver=0.18.3
-pkgrel=1
+pkgrel=2
pkgdesc="Gentoo's universal init system"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/base/openrc/"
@@ -25,16 +25,15 @@ backup=('etc/rc.conf'
'etc/conf.d/modules'
'etc/conf.d/hwclock'
'etc/inittab')
-source=("openrc-${pkgver}.tar.gz::${_rc_uri}/${pkgver}.tar.gz"
- "openrc.logrotate"
+source=("${pkgname}-${pkgver}.tar.gz::${_rc_uri}/${pkgver}.tar.gz"
+ "${pkgname}.logrotate"
'LICENSE')
sha256sums=('e8e0bbefd8b40284a167af5c5071bd2eff6304988b3fd935bd6834c62cfa2339'
'0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c'
'28875cc6cb52e93657b96cf1bf0cc3b91891cdcbbc3196007c8cd93c6e22078f')
-_rc_args=(SYSCONFDIR=/etc)
-_rc_args+=(BRANDING="Parabola")
-_id="parabola"
+_rc_args=(BRANDING="Parabola")
+_rc_args+=(SYSCONFDIR=/etc)
_rc_args+=(PREFIX=/usr)
_rc_args+=(SBINDIR=/usr/bin)
_rc_args+=(LIBEXECDIR=/usr/lib/rc)
@@ -45,18 +44,17 @@ _rc_args+=(MKNET=no)
prepare(){
- cd "${srcdir}/openrc-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
sed -e "s|/sbin|/usr/bin|g" -i support/sysvinit/inittab
}
build(){
# make openrc
- cd "${srcdir}/openrc-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
make "${_rc_args[@]}"
}
package() {
-
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" "${_rc_args[@]}" install