summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 322d039a6addf59e4a5baa3a66ba13835fd9f01b (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
27
28
29
30
31
32
33
34
35
36
# Maintainer: Joost Molenaar <jjm@j0057.nl>
pkgname=cni-plugin-dnsname
pkgver=0.0
pkgrel=1
pkgcommit=2e1d2e0732df49df460e0991f68bf2ccfcd102db
epoch=0
pkgdesc="name resolution for containers"
arch=(x86_64)
url="https://github.com/containers/dnsname"
license=('Apache')
groups=()
depends=(glibc)
makedepends=(make go)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/containers/dnsname/archive/$pkgcommit.zip")
noextract=()
sha256sums=("76386cbed1a540c700e28b8cb2dcda083118a9c10fea2bb85f06a4f59a081b64")
validpgpkeys=()

build() {
    cd "dnsname-$pkgcommit"
	make
}

package() {
    install -o root -g root -m 644 -d $pkgdir/usr/lib/cni
    install -o root -g root -m 755 -t $pkgdir/usr/lib/cni dnsname-$pkgcommit/bin/dnsname
}