diff options
-rw-r--r-- | user/netifrc/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/netifrc/APKBUILD b/user/netifrc/APKBUILD new file mode 100644 index 000000000..32db36ece --- /dev/null +++ b/user/netifrc/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=netifrc +pkgver=0.5.1 +pkgrel=0 +pkgdesc="User-friendly network interface management scripts for OpenRC" +url="https://www.gentoo.org/proj/en/base/openrc/" +arch="noarch" +license="2-BSD" +depends="eudev openrc" +makedepends="eudev-dev pkgconf" +install="" +options="!check" +subpackages="$pkgname-doc $pkgname-openrc" +source="https://dev.gentoo.org/~robbat2/distfiles/netifrc-$pkgver.tar.bz2" +builddir="$srcdir/netifrc-$pkgver" + +build() { + cd "$builddir" + make LIBEXECDIR=/lib/$pkgname PF="$pkgname-$pkgver" +} + +package() { + cd "$builddir" + make LIBEXECDIR=/lib/$pkgname DESTDIR="$pkgdir" install + for doc in README CREDITS TODO ChangeLog; do + install -m 644 "$builddir"/$doc "$pkgdir"/usr/share/doc/$pkgname/ + done +} + +sha512sums="277d10f58f694c734c9dec52896f847a58e40b61567573dd634d0a0604c27550d4baec461df46dac4e535753f6594afd30344696229f4f4cf4f5e04dba659710 netifrc-0.5.1.tar.bz2" |