From 3b27ef03ec7d4daa75006c7e0cf288fd5bfa8d26 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 5 Sep 2017 22:53:55 -0500 Subject: user/netifrc: new package --- user/netifrc/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/netifrc/APKBUILD 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2