summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b85e87cc8a44e7ff9de31845fa5d29026be0f0c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Florian Albertz <flo.albertz@gmail.com>
pkgname="actool-git"
pkgver=r798.bf62629
pkgrel=1
pkgdesc='Build AppContainer Images'
arch=('any')
url='https://github.com/appc/spec'
license=('Apache')
makedepends=('go')
source=('git+https://github.com/appc/spec')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir"/spec
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd spec
	./build

	install -Dm 755 bin/actool "$pkgdir/usr/bin/actool"
}