summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-07 02:14:03 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-07 02:14:03 -0500
commitc2c4b83c55e4e6b9625f72387e244da00ab042f3 (patch)
tree89dbeea1f73270e49474ca1287fbae1878da6813 /pcr
parent68ce06a879142c6fa0cc583df301c44d4f2212a6 (diff)
openrc-core-0.17-2: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/openrc-core/PKGBUILD27
1 files changed, 10 insertions, 17 deletions
diff --git a/pcr/openrc-core/PKGBUILD b/pcr/openrc-core/PKGBUILD
index 589201a78..309f8f39d 100644
--- a/pcr/openrc-core/PKGBUILD
+++ b/pcr/openrc-core/PKGBUILD
@@ -1,7 +1,6 @@
-# Maintainer (Arch): artoo <artoo@manjaro.org>
-# Contributor (Arch): williamh <williamh@gentoo.org>
+# Maintainer (Manjaro): artoo <artoo@manjaro.org>
+# Contributor (Manjaro): williamh <williamh@gentoo.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-# Contributor: freaj <freaj@riseup.net>
_pkgname="openrc"
@@ -20,10 +19,10 @@ _gver=0.10
pkgname=openrc-core
pkgdesc="Gentoo's universal init system, udev enabled."
-pkgver=0.16.4
-pkgrel=3.1
+pkgver=0.17
+pkgrel=2
pkgdesc="Gentoo's universal init system, udev enabled."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/base/openrc/"
license=('BSD2' 'GPL2')
depends=('inetutils' 'psmisc' 'sysvinit' 'udev>=186')
@@ -45,7 +44,7 @@ source=("${_src_uri}/${_pkgname}-${pkgver}.tar.bz2"
"${_genf}-${_gver}::${_g_uri}/${_gver}.tar.gz"
"${_pkgname}.logrotate"
'kmod-static-nodes')
-sha256sums=('6771257e208da2e4d20b4ac2e3e7f065eb8873566644ff385e9dbd6bc5221d21'
+sha256sums=('45818d9ef4659e8dd924a1468a091255c305daee5417f94d9515f0e125298b30'
'4de998d68e28f8ce4c1d4c9955aec0fa4cfe84673cbf3bfe1be71a1e9918693f'
'a92a96b6f065981ee1c0232a507f3695230eeb7fb6172ec9048c2538b36cfea8'
'709c8b22f404001a512e47a7a4d3192070b3e150fb9d0f943de09736d665b0db'
@@ -53,13 +52,8 @@ sha256sums=('6771257e208da2e4d20b4ac2e3e7f065eb8873566644ff385e9dbd6bc5221d21'
'fc90e8d480de39aff90e41477f79720a98bee2a2359c53c209d0ca7bb75fb6ba')
_base_args=(SYSCONFDIR=/etc)
-if [ -f /etc/os-release ]; then
- . /etc/os-release
- _base_args+=(BRANDING="$NAME")
-
-else
- _base_args+=(BRANDING='Unknown Linux')
-fi
+_base_args+=(BRANDING="Parabola")
+_id="parabola"
_base_args+=(PREFIX=/usr)
_base_args+=(SBINDIR=/usr/bin)
@@ -72,7 +66,7 @@ _rc_args+=(MKNET=no)
_f_args+=(ROOTPREFIX=/usr)
_f_args+=(ROOTSBINDIR=/usr/bin)
-_f_args+=(ROOTLIBEXECDIR=/usr/lib/manjaro)
+_f_args+=(ROOTLIBEXECDIR=/usr/lib/$_id)
_net_args=( "${_base_args[@]}" )
_net_args+=(LIBEXECDIR=/usr/lib/${_net})
@@ -80,7 +74,6 @@ _net_args+=(LIBEXECDIR=/usr/lib/${_net})
prepare(){
cd "${srcdir}/${_pkgname}-${pkgver}"
sed -e "s|/sbin|/usr/bin|g" -i support/sysvinit/inittab
- #sed -i 's:0444:0644:' mk/sys.mk
}
build(){
@@ -129,7 +122,7 @@ package() {
sed -e 's|#!/usr/bin/runscript|#!/usr/bin/openrc-run|' \
-i "${pkgdir}/etc/init.d/net.lo"
ln -sf "/etc/init.d/net.lo" "${pkgdir}/etc/runlevels/boot/net.lo"
- sed -e 's|/lib/gentoo/functions.sh|/usr/lib/manjaro/functions.sh|g' \
+ sed -e "s|/lib/gentoo/functions.sh|/usr/lib/$_id/functions.sh|g" \
-i "${pkgdir}/usr/lib/netifrc/sh/functions.sh"
# kmod-static-nodes