summaryrefslogblamecommitdiff
path: root/user/netifrc/APKBUILD
blob: da1ef7d286e65660643ad54d4bfc46ef89a49d8b (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
            



                                                                       

                                  

                               
                                          
                                                                                     


                      
                                                                             



                      

                                                                                 



                                                                                 
                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=netifrc
pkgver=0.6.1
pkgrel=0
pkgdesc="User-friendly network interface management scripts for OpenRC"
url="https://www.gentoo.org/proj/en/base/openrc/"
arch="noarch"
options="!check"  # No test suite.
license="BSD-2-Clause"
depends="eudev openrc"
makedepends="eudev-dev pkgconf"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://gitweb.gentoo.org/proj/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"
	make UDEVDIR=/lib/udev LIBEXECDIR=/lib/$pkgname PF="$pkgname-$pkgver"
}

package() {
	cd "$builddir"
	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="798a882f87f153c31b415d77a06a2beca94a958ea982aca20bbc2cf6a7d800aedbd99a577734ea41d6a75807b13d640dd7fa5a51aa5a27055e9c552634ac7bdb  netifrc-0.6.1.tar.gz"