aboutsummaryrefslogtreecommitdiffstats
path: root/community/cni-plugin-dnsname/APKBUILD
blob: 4a52550217690303ca6f9de29c04bd610b477e67 (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.2.0
pkgrel=2
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="
99fe827abcf7aca040c389122e02c39cd57f35de9bea8891907a5a69525bf1c52ba9a6478f2093d4eadd6a9fb31e9f29e42b03fc14d544ed2d15cc68e94ed0f7  cni-plugin-dnsname-1.2.0.tar.gz
"