aboutsummaryrefslogtreecommitdiffstats
path: root/testing/buildah/APKBUILD
blob: 19e7ca13f8850b63d4b0dfc71ba12726ec6f7324 (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
# Contributor: kohnish <kohnish@gmx.com>
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: kohnish <kohnish@gmx.com>
pkgname=buildah
pkgver=1.14.4
pkgrel=0
pkgdesc="A tool that facilitates building OCI container images"
url="https://github.com/containers/buildah"
arch="all"
license="Apache-2.0"
makedepends="go go-md2man lvm2-dev gpgme-dev libseccomp-dev btrfs-progs-dev bash"
subpackages="$pkgname-doc"
options="!check" # TODO: enable tests
source="$pkgname-$pkgver.tar.gz::https://github.com/containers/buildah/archive/v$pkgver.tar.gz"

build() {
	GIT_COMMIT="$pkgver" make
}

package() {
	GIT_COMMIT="$pkgver" make install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="74923a552294b5e35361f8446697822850952edcd9b4619e31bad1c3b2fbb0aeb491d598096d2f59cf7bf433a487f056f7229c7fe031cb790cbdc9b8ba12a2cd  buildah-1.14.4.tar.gz"