summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-21 11:20:11 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-21 11:20:11 -0500
commitbaf12e74a6a95fda054ef61a45aea43a02ca2e0b (patch)
tree1ce209b15bdb3d2259fef084b1119a5b61fc0d11 /pcr
parentc676a4a91054a84316a3a12cb94196c1875fd719 (diff)
downloadabslibre-baf12e74a6a95fda054ef61a45aea43a02ca2e0b.tar.gz
abslibre-baf12e74a6a95fda054ef61a45aea43a02ca2e0b.tar.bz2
abslibre-baf12e74a6a95fda054ef61a45aea43a02ca2e0b.zip
openrc-0.20.3-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/openrc/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index bc234528b..6c5e17a10 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -5,7 +5,7 @@
_url="https://github.com/OpenRC/openrc/archive"
pkgname=openrc
-pkgver=0.20.2
+pkgver=0.20.3
pkgrel=1
pkgdesc="Gentoo's universal init system"
arch=('i686' 'x86_64')
@@ -28,11 +28,16 @@ backup=('etc/rc.conf'
source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz"
"${pkgname}.logrotate"
'use-optional-modules-load-d.patch')
-sha256sums=('d641cbdf153dfe09dac833ab48566d2dbecaaf461d19a1dbd4d0ccefb0fba24f'
+sha256sums=('907e5348fffa23a0a1db0110e600f8e8202fd39c8cf954923d6a3bc61f389917'
'0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c'
'54e0cfb59b83ad42ec85486b99b7fed52ccbc8f98f0f113668eacf48a24a2d03')
-_args=(BRANDING="Parabola")
+if [ -f /etc/os-release ]; then
+ . /etc/os-release
+ _args=(BRANDING="$NAME")
+else
+ _args=(BRANDING='Unknown Linux')
+fi
_args+=(SYSCONFDIR=/etc)
_args+=(PREFIX=/usr)
_args+=(SBINDIR=/usr/bin)
@@ -41,7 +46,6 @@ _args+=(MKSELINUX=no)
_args+=(MKPAM=pam)
_args+=(MKTERMCAP=ncurses)
_args+=(MKNET=no)
-_args+=(MKTOOLS=no)
prepare(){
cd "${srcdir}/${pkgname}-${pkgver}"