blob: f7e8f503db32dd5ee99dcc04ebc8ddab2e0724bd (
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
|
# Maintainer: kvaps <kvapss@gmail.com>
pkgname=qbec
pkgver=0.15.2
pkgrel=0
pkgdesc="Configure Kubernetes objects on multiple clusters using Jsonnet"
arch=('i686' 'x86_64' 'arm' 'aarch64')
url="https://github.com/splunk/qbec"
makedepends=('git' 'go')
license=('Apache')
provides=(qbec)
optdepends=(
'jsonnet-bundler-bin: jsonnet package manager'
)
source=("https://github.com/splunk/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('570c1818028ae66a23bb83448cc6e499dd1c01a34632e8dba0d604fc7c185be7')
build() {
cd "$srcdir/qbec-$pkgver"
make get os_archive
}
package() {
install -m 0755 -d "$pkgdir/usr/bin"
tar x -f "$srcdir/qbec-$pkgver/dist/assets/qbec-linux-amd64.tar.gz" -C "$pkgdir/usr/bin"
"$pkgdir/usr/bin/qbec" completion | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/qbec"
}
|