# Maintainer: Duologic # Maintainer: sh0rez pkgname=tanka-git pkgver=v0.26.0.r44.g072ec44e pkgrel=1 pkgdesc="Flexible, reusable and concise configuration for Kubernetes using Jsonnet" arch=('i686' 'x86_64' 'arm' 'aarch64') url="https://tanka.dev" license=('Apache') source=("git+https://github.com/grafana/tanka.git#branch=main") makedepends=('git' 'go') depends=('diffutils' 'kubectl') optdepends=( 'jsonnet-bundler-bin: jsonnet package manager' ) provides=(tanka) conflicts=(tanka) md5sums=('SKIP') pkgver() { cd "$srcdir/tanka" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$srcdir/tanka" make static } package() { install -Dm755 "$srcdir/tanka/tk" -t "$pkgdir/usr/bin" }