blob: 78eb4ed26adc9ba16a033697b251d371556a9e9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=netifrc
pkgver=0.6.0
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"
install=""
subpackages="$pkgname-doc $pkgname-openrc"
source="https://dev.gentoo.org/~robbat2/distfiles/netifrc-$pkgver.tar.bz2"
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="de47d146619bd716a0eda8149063691d9d71a895579ac50d3fea60bf0e48c516d6b37aed81c33083dc6e7d4bb74841bb6b143c23972669de9d76b8f7df7a5d23 netifrc-0.6.0.tar.bz2"
|