diff options
Diffstat (limited to 'pcr/netifrc/PKGBUILD')
-rw-r--r-- | pcr/netifrc/PKGBUILD | 22 |
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} } |