diff options
-rw-r--r-- | pcr/netifrc/PKGBUILD | 15 |
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} } |