aboutsummaryrefslogtreecommitdiffstats
path: root/community/cni-plugin-dnsname/APKBUILD
blob: aa3ce9db98868bfa86da1dfdec2694aff3d9b812 (plain)
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
# Contributor: Jordan Christiansen <xordspar0@gmail.com>
# Maintainer: Jordan Christiansen <xordspar0@gmail.com>
pkgname=cni-plugin-dnsname
pkgver=1.3.1
pkgrel=3
pkgdesc="Name resolution for containers"
url="https://github.com/containers/dnsname"
license="Apache-2.0"
arch="all"
depends="dnsmasq"
makedepends="go"
options="!check" # Requires root but 'checkroot' doesn't work with go programs
source="$pkgname-$pkgver.tar.gz::https://github.com/containers/dnsname/archive/v$pkgver.tar.gz"
builddir="$srcdir/dnsname-$pkgver"

build() {
	make
}

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="
ebebbe62394b981e86cd21fa8b92639a6d67e007a18c576ffdbac8067084a4cffdc9d077213bf7c9ee1e2731c7d69e4d4c02465f2340556c8723b6e302238aad  cni-plugin-dnsname-1.3.1.tar.gz
"