diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-05 22:53:55 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-05 22:53:55 -0500 |
commit | 3b27ef03ec7d4daa75006c7e0cf288fd5bfa8d26 (patch) | |
tree | 9d85a799c3e92929ee11e3ee124ade348b3b9785 /user/netifrc/APKBUILD | |
parent | 7be690fa666514f5bc74a5cfdaff00f3a6b92c5b (diff) | |
download | packages-3b27ef03ec7d4daa75006c7e0cf288fd5bfa8d26.tar.gz packages-3b27ef03ec7d4daa75006c7e0cf288fd5bfa8d26.tar.bz2 packages-3b27ef03ec7d4daa75006c7e0cf288fd5bfa8d26.tar.xz packages-3b27ef03ec7d4daa75006c7e0cf288fd5bfa8d26.zip |
user/netifrc: new package
Diffstat (limited to 'user/netifrc/APKBUILD')
-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" |