summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-04 19:27:02 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-04 19:27:02 -0500
commit2c273f1a78cc0482207bf14c8fb5e2c6d1e5ed64 (patch)
treed766e416b91fc638465aa5dcfb605992c224b906
parent283b40c16823d0b8d08eb01600aab31c6c58d607 (diff)
downloadabslibre-2c273f1a78cc0482207bf14c8fb5e2c6d1e5ed64.tar.gz
abslibre-2c273f1a78cc0482207bf14c8fb5e2c6d1e5ed64.tar.bz2
abslibre-2c273f1a78cc0482207bf14c8fb5e2c6d1e5ed64.zip
netifrc-0.5.1-4.parabola1: rebuild
-rw-r--r--pcr/netifrc/PKGBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/pcr/netifrc/PKGBUILD b/pcr/netifrc/PKGBUILD
index 901c3e83a..0afe7f9a2 100644
--- a/pcr/netifrc/PKGBUILD
+++ b/pcr/netifrc/PKGBUILD
@@ -7,29 +7,30 @@ _url="https://github.com"
_net_url="${_url}/gentoo/netifrc/archive"
_func_url="${_url}/gentoo/gentoo-functions/archive"
-_func_ver=0.11
+_func_ver=0.12
pkgname=netifrc
pkgver=0.5.1
-pkgrel=3.parabola1
+pkgrel=4.parabola1
pkgdesc="Gentoo Network Interface Management Scripts"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/base/openrc/"
license=('BSD2')
groups=('openrc-base')
-depends=('udev-openrc')
+depends=('eudev-openrc')
conflicts=('systemd-sysvcompat')
install=${pkgname}.install
backup=('etc/conf.d/net')
source=("${pkgname}-${pkgver}.tar.gz::${_net_url}/${pkgver}.tar.gz"
"gentoo-functions-${_func_ver}.tar.gz::${_func_url}/${_func_ver}.tar.gz")
sha256sums=('3d737efb3258ac4a32c745cb2378017402ae4da48bdd356c11845965b0184ee5'
- 'e861e1fc4da45c07c62889d80e9d2d869ef92bba4f96d1b41aff119c3e9c8099')
+ '4a6ddb1d8be7b52aae68761fb26546663b6b0e74b155df263cddfbfa72373965')
_id=parabola
+
_net_args=(SYSCONFDIR=/etc)
-# _net_args+=(PREFIX=/usr)
-# _net_args+=(SBINDIR=/usr/bin)
+_net_args+=(PREFIX=/usr)
+_net_args+=(SBINDIR=/usr/bin)
_net_args+=(LIBEXECDIR=/usr/lib/${pkgname})
_func_args+=(ROOTPREFIX=/usr)
@@ -46,12 +47,7 @@ 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}" "${_net_args[@]}" install
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/doc/net.example" "${pkgdir}/etc/conf.d/net"
@@ -66,6 +62,4 @@ package() {
-i "${pkgdir}/usr/lib/${pkgname}/sh/functions.sh"
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
-
- rm "${pkgdir}"/{bin,sbin,lib}
}