blob: 06a68c9473b287a4b09bf2b226498f430aba22be (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kine
pkgver=0.5.1
pkgrel=18
pkgdesc="etcd API with sqlite, Postgres, Mysql, or dqlite backed"
url="https://github.com/k3s-io/kine"
arch="all"
license="Apache-2.0"
makedepends="sqlite-dev go"
subpackages="$pkgname-doc"
options="!check" # no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/k3s-io/kine/archive/v$pkgver.tar.gz"
provides="etcd-api"
provider_priority=1
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v .
}
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
"
|