summaryrefslogtreecommitdiff
path: root/user/netifrc
diff options
context:
space:
mode:
Diffstat (limited to 'user/netifrc')
-rw-r--r--user/netifrc/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/user/netifrc/APKBUILD b/user/netifrc/APKBUILD
index 78eb4ed26..da1ef7d28 100644
--- a/user/netifrc/APKBUILD
+++ b/user/netifrc/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=netifrc
-pkgver=0.6.0
+pkgver=0.6.1
pkgrel=0
pkgdesc="User-friendly network interface management scripts for OpenRC"
url="https://www.gentoo.org/proj/en/base/openrc/"
@@ -10,21 +10,20 @@ options="!check" # No test suite.
license="BSD-2-Clause"
depends="eudev openrc"
makedepends="eudev-dev pkgconf"
-install=""
subpackages="$pkgname-doc $pkgname-openrc"
-source="https://dev.gentoo.org/~robbat2/distfiles/netifrc-$pkgver.tar.bz2"
+source="https://gitweb.gentoo.org/proj/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz"
build() {
cd "$builddir"
- make LIBEXECDIR=/lib/$pkgname PF="$pkgname-$pkgver"
+ make UDEVDIR=/lib/udev LIBEXECDIR=/lib/$pkgname PF="$pkgname-$pkgver"
}
package() {
cd "$builddir"
- make LIBEXECDIR=/lib/$pkgname DESTDIR="$pkgdir" install
- for doc in README CREDITS TODO ChangeLog; do
+ make UDEVDIR=/lib/udev LIBEXECDIR=/lib/$pkgname DESTDIR="$pkgdir" install
+ for doc in README CREDITS TODO; do
install -m 644 "$builddir"/$doc "$pkgdir"/usr/share/doc/$pkgname/
done
}
-sha512sums="de47d146619bd716a0eda8149063691d9d71a895579ac50d3fea60bf0e48c516d6b37aed81c33083dc6e7d4bb74841bb6b143c23972669de9d76b8f7df7a5d23 netifrc-0.6.0.tar.bz2"
+sha512sums="798a882f87f153c31b415d77a06a2beca94a958ea982aca20bbc2cf6a7d800aedbd99a577734ea41d6a75807b13d640dd7fa5a51aa5a27055e9c552634ac7bdb netifrc-0.6.1.tar.gz"