summaryrefslogtreecommitdiff
path: root/pcr/openrc/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 14:39:53 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 14:39:53 -0500
commit61374bfe86c2b1235ab18692ef43352861a1dfee (patch)
tree0fefceede8695e41d81938d05cc63d81e3ca9e28 /pcr/openrc/PKGBUILD
parent0659c3d522307bbf951d284e56a3303a3e61eb91 (diff)
downloadabslibre-61374bfe86c2b1235ab18692ef43352861a1dfee.tar.gz
abslibre-61374bfe86c2b1235ab18692ef43352861a1dfee.tar.bz2
abslibre-61374bfe86c2b1235ab18692ef43352861a1dfee.zip
openrc-0.24.1-2.parabola1: updating version
Diffstat (limited to 'pcr/openrc/PKGBUILD')
-rw-r--r--pcr/openrc/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index 43119a4bd..a07e05245 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -5,13 +5,13 @@
_url="https://github.com/OpenRC/openrc/archive"
pkgname=openrc
-pkgver=0.24
-pkgrel=1.parabola1
+pkgver=0.24.1
+pkgrel=2.parabola1
pkgdesc="Gentoo's universal init system"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/base/openrc/"
license=('BSD2')
-depends=('psmisc' 'sysvinit')
+depends=('psmisc' 'sysvinit' 'pam')
optdepends=('netifrc: Network Interface Management Scripts'
'networkmanager-openrc: NetworkManager'
'connman-openrc: connman')
@@ -30,14 +30,14 @@ source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz"
"${pkgname}.logrotate"
'openrc-install.hook'
'openrc-remove.hook')
-sha256sums=('bf112089ec0d654830961fd5d388145fbb34a7f40d963672c085e0a40bd30a8c'
+sha256sums=('8bf65090e4881cafc8cdfe4a160d2ad64a940b19a0c76b18fdb5bbabf4a086d2'
'0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c'
'1d4d31a7275660e7b23778e6fceb0714cab8ed2793b04aa004b01d8e7bcd43bd'
'cbb4d00262a55a508114cb31e3903350be2cff748a4fb5e120dc745292e3987e')
_args=(SYSCONFDIR=/etc)
-_args+=(PREFIX=/usr)
-_args+=(SBINDIR=/usr/bin)
+# _args+=(PREFIX=/usr)
+# _args+=(SBINDIR=/usr/bin)
_args+=(LIBEXECDIR=/usr/lib/rc)
_args+=(MKSELINUX=no)
_args+=(MKPAM=pam)
@@ -58,6 +58,12 @@ build(){
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ mkdir -pv "${pkgdir}"/usr/{bin,lib}
+ ln -sv usr/bin "${pkgdir}/bin"
+ ln -sv usr/bin "${pkgdir}/sbin"
+ ln -sv usr/lib "${pkgdir}/lib"
+
make DESTDIR="${pkgdir}" "${_args[@]}" install
install -m644 "${srcdir}/${pkgname}-${pkgver}/support/sysvinit/inittab" "${pkgdir}/etc/inittab"
@@ -74,4 +80,6 @@ package() {
for f in openrc-{install,remove}.hook;do
install -Dm644 ${srcdir}/$f ${pkgdir}/usr/share/libalpm/hooks/$f
done
+
+ rm "${pkgdir}"/{bin,sbin,lib}
}