summaryrefslogtreecommitdiff
path: root/pcr/netifrc
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-12-05 20:54:56 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-12-05 20:54:56 -0500
commitf3a3617e3dd7aca3667082255bdc045b42a59f16 (patch)
tree77aa83ba321fba738d007ecc16a5e4dfd91f7393 /pcr/netifrc
parente8c3b988581b5b63576642297990805141ed5f96 (diff)
downloadabslibre-f3a3617e3dd7aca3667082255bdc045b42a59f16.tar.gz
abslibre-f3a3617e3dd7aca3667082255bdc045b42a59f16.tar.bz2
abslibre-f3a3617e3dd7aca3667082255bdc045b42a59f16.zip
netifrc-0.5.1-2.parabola1: rebuild
Diffstat (limited to 'pcr/netifrc')
-rw-r--r--pcr/netifrc/PKGBUILD40
1 files changed, 20 insertions, 20 deletions
diff --git a/pcr/netifrc/PKGBUILD b/pcr/netifrc/PKGBUILD
index 2ce69122a..84c5daec2 100644
--- a/pcr/netifrc/PKGBUILD
+++ b/pcr/netifrc/PKGBUILD
@@ -7,24 +7,24 @@ _url="https://github.com"
_net_url="${_url}/gentoo/netifrc/archive"
_func_url="${_url}/gentoo/gentoo-functions/archive"
-_func_ver=0.10
+_func_ver=0.11
pkgname=netifrc
pkgver=0.5.1
-pkgrel=1.parabola1
+pkgrel=2.parabola1
pkgdesc="Gentoo Network Interface Management Scripts"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/base/openrc/"
license=('BSD2')
-groups=('base-openrc' 'openrc-base')
+groups=('openrc-base')
depends=('udev-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")
+ "gentoo-functions-${_func_ver}.tar.gz::${_func_url}/${_func_ver}.tar.gz")
sha256sums=('3d737efb3258ac4a32c745cb2378017402ae4da48bdd356c11845965b0184ee5'
- '709c8b22f404001a512e47a7a4d3192070b3e150fb9d0f943de09736d665b0db')
+ 'e861e1fc4da45c07c62889d80e9d2d869ef92bba4f96d1b41aff119c3e9c8099')
_id=parabola
_net_args=(SYSCONFDIR=/etc)
@@ -37,26 +37,26 @@ _func_args+=(ROOTSBINDIR=/usr/bin)
_func_args+=(ROOTLIBEXECDIR=/usr/lib/$_id)
build(){
- # make netifrc
- cd "${srcdir}/${pkgname}-${pkgver}"
- make "${_net_args[@]}"
- cd ${srcdir}/gentoo-functions-${_func_ver}
- make "${_func_args[@]}"
+ # make netifrc
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make "${_net_args[@]}"
+ cd ${srcdir}/gentoo-functions-${_func_ver}
+ make "${_func_args[@]}"
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" "${_net_args[@]}" install
- install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/doc/net.example" "${pkgdir}/etc/conf.d/net"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ 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"
- ln -sf "/etc/init.d/net.lo" "${pkgdir}/etc/runlevels/boot/net.lo"
+ install -d "${pkgdir}/etc/runlevels/boot"
+ ln -sf "/etc/init.d/net.lo" "${pkgdir}/etc/runlevels/boot/net.lo"
- cd ${srcdir}/gentoo-functions-${_func_ver}
- make DESTDIR="${pkgdir}" "${_func_args[@]}" install
+ cd ${srcdir}/gentoo-functions-${_func_ver}
+ make DESTDIR="${pkgdir}" "${_func_args[@]}" install
- sed -e "s|/lib/gentoo/functions.sh|/usr/lib/$_id/functions.sh|g" \
- -i "${pkgdir}/usr/lib/${pkgname}/sh/functions.sh"
+ sed -e "s|/lib/gentoo/functions.sh|/usr/lib/$_id/functions.sh|g" \
+ -i "${pkgdir}/usr/lib/${pkgname}/sh/functions.sh"
- install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}