summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 482f140b5b30a1fcdc59fa8f1deded52ebd089c4 (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
# Maintainer: Ashley Ruglys <ashley.ruglys@gmail.com>
pkgname=pumba-git
_pkgname=pumba
pkgdesc="Chaos testing tool for Docker"
pkgrel=1
pkgver=0.7.1
arch=('i686' 'x86_64')
provides=("pumba")
url="https://github.com/alexei-led/pumba/releases"
license=('APACHE')
depends=()
makedepends=('go')
source=("$_pkgname::git+https://github.com/alexei-led/pumba")
sha256sums=('SKIP')

pkgver() {
	cd $_pkgname
	cat VERSION
}

build() {
	cd $_pkgname
	./hack/build.sh
}

package() {
	cd $_pkgname
	install -D -m755 "$srcdir/$_pkgname/.bin/pumba" "$pkgdir/usr/bin/pumba"
}