summaryrefslogtreecommitdiff
path: root/pcr/netifrc
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 14:58:55 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 14:58:55 -0500
commit173455fa5f29d31e0d5afb8d45ed9f2f048b2a4c (patch)
treeb881ac942ac6dc232d21ca8cfe7196fd968871a1 /pcr/netifrc
parentb9851ba1812445551fd4b9ea246f3cefaa838260 (diff)
downloadabslibre-173455fa5f29d31e0d5afb8d45ed9f2f048b2a4c.tar.gz
abslibre-173455fa5f29d31e0d5afb8d45ed9f2f048b2a4c.tar.bz2
abslibre-173455fa5f29d31e0d5afb8d45ed9f2f048b2a4c.zip
netifrc-0.5.1-3.parabola1: rebuild
Diffstat (limited to 'pcr/netifrc')
-rw-r--r--pcr/netifrc/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/pcr/netifrc/PKGBUILD b/pcr/netifrc/PKGBUILD
index 84c5daec2..901c3e83a 100644
--- a/pcr/netifrc/PKGBUILD
+++ b/pcr/netifrc/PKGBUILD
@@ -11,7 +11,7 @@ _func_ver=0.11
pkgname=netifrc
pkgver=0.5.1
-pkgrel=2.parabola1
+pkgrel=3.parabola1
pkgdesc="Gentoo Network Interface Management Scripts"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/base/openrc/"
@@ -28,8 +28,8 @@ sha256sums=('3d737efb3258ac4a32c745cb2378017402ae4da48bdd356c11845965b0184ee5'
_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,7 +46,14 @@ 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"
install -d "${pkgdir}/etc/runlevels/boot"
@@ -59,4 +66,6 @@ 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}
}