blob: 1884f224c1475be90009a4f11b40355027230827 (
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: Ukang'a <ukanga@users.noreply.github.com>
pkgname=sre-tooling-git
pkgver=v0.11.0.ff96311
pkgrel=1
pkgdesc="A set of useful SRE tools."
arch=('x86_64')
url="https://github.com/onaio/sre-tooling"
license=('Apache License 2.0')
depends=(
'sudo'
'git'
)
makedepends=(
'go'
)
source=("git+https://github.com/onaio/sre-tooling")
sha1sums=('SKIP')
provides=("sre-tooling")
conflicts=("sre-tooling")
build() {
export GOPATH="$srcdir"/gopath
echo $GOPATH
cd "$srcdir/sre-tooling"
EXTRA_GOFLAGS="-modcacherw" make VERSION=$pkgver DESTDIR="$pkgdir" build
}
package() {
cd "$srcdir/sre-tooling"
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
}
|