aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kine/APKBUILD
blob: 1ac127489716515fe4e90bfdfdf053cd0aa6482e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kine
pkgver=0.5.1
pkgrel=2
pkgdesc="etcd API with sqlite, Postgres, Mysql, or dqlite backed"
url="https://github.com/rancher/kine"
arch="all !mips !mips64"
license="Apache-2.0"
makedepends="sqlite-dev go"
subpackages="$pkgname-doc"
options="!check" # no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/rancher/kine/archive/v$pkgver.tar.gz"
provides="etcd-api"

build() {
	go build -v  -ldflags="-w -s" .
}

package() {
	install -D -m755 kine "$pkgdir"/usr/bin/kine
	install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/kine/LICENSE
}

sha512sums="0eb5bbfd473fc0a656f0592e655fffd23b83277c3d1f3e6e338f2362b1e168dbf497c503f013a4b56cf2bd1fe5b95f74024ee53bc452765799cc903c12a2df59  kine-0.5.1.tar.gz"