diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-03-18 20:02:24 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-03-18 20:02:24 -0500 |
commit | fcaca797a7c78e3c6d78e59ba03aaaad290eac9c (patch) | |
tree | 381506c71536fb6df49f6dfd95f28544595a9271 | |
parent | 303e2094a33948e03f0e4b01d1d6a191f1a17cca (diff) | |
download | abslibre-fcaca797a7c78e3c6d78e59ba03aaaad290eac9c.tar.gz abslibre-fcaca797a7c78e3c6d78e59ba03aaaad290eac9c.tar.bz2 abslibre-fcaca797a7c78e3c6d78e59ba03aaaad290eac9c.zip |
openrc-0.20.5-1: updating version
-rw-r--r-- | pcr/openrc/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD index 6e31e3700..3aa478f2e 100644 --- a/pcr/openrc/PKGBUILD +++ b/pcr/openrc/PKGBUILD @@ -5,8 +5,8 @@ _url="https://github.com/OpenRC/openrc/archive" pkgname=openrc -pkgver=0.20.4 -pkgrel=1.1 +pkgver=0.20.5 +pkgrel=1 pkgdesc="Gentoo's universal init system" arch=('i686' 'x86_64' 'armv7h') url="http://www.gentoo.org/proj/en/base/openrc/" @@ -15,6 +15,7 @@ depends=('psmisc' 'sysvinit') optdepends=('netifrc: Network Interface Management Scripts' 'networkmanager-openrc: NetworkManager' 'connman-openrc: connman') +makedepends=('lsb-release') conflicts=('systemd-sysvcompat' 'openrc-core') replaces=('openrc-core') install=${pkgname}.install @@ -28,11 +29,16 @@ backup=('etc/rc.conf' source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz" "${pkgname}.logrotate" 'use-optional-modules-load-d.patch') -sha256sums=('162018f2cba6d8df74daeca40522ce716370d67f19b8592d4beaa2df5435cee3' +sha256sums=('3929193306f6033547331f65bcddb01c23edc770f725cc4750a252574b66aef4' '0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c' '54e0cfb59b83ad42ec85486b99b7fed52ccbc8f98f0f113668eacf48a24a2d03') -_args=(BRANDING="Parabola") +if [ -f /etc/lsb-release ]; then + . /etc/lsb-release + _args=(BRANDING="$DISTRIB_DESCRIPTION") +else + _args=(BRANDING='Unknown Linux') +fi _args+=(SYSCONFDIR=/etc) _args+=(PREFIX=/usr) _args+=(SBINDIR=/usr/bin) @@ -67,5 +73,5 @@ package() { install -d ${pkgdir}/usr/lib/rc/cache - install -Dm644 ${srcdir}//${pkgname}-${pkgver}/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" } |