[arch-commits] Commit in buildah/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Jul 21 10:04:00 UTC 2019
Date: Sunday, July 21, 2019 @ 10:04:00
Author: bpiotrowski
Revision: 492471
archrelease: copy trunk to testing-x86_64
Added:
buildah/repos/testing-x86_64/
buildah/repos/testing-x86_64/PKGBUILD
(from rev 492470, buildah/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: buildah/repos/testing-x86_64/PKGBUILD (from rev 492470, buildah/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-07-21 10:04:00 UTC (rev 492471)
@@ -0,0 +1,37 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=buildah
+pkgver=1.9.2
+pkgrel=1
+pkgdesc="A tool which facilitates building OCI images"
+arch=(x86_64)
+url="https://github.com/containers/buildah"
+license=(Apache)
+depends=(ostree runc skopeo)
+makedepends=(go-pie git bash-bats btrfs-progs device-mapper gpgme libassuan
+ bzip2 go-md2man runc skopeo)
+_commit=d2a3249ab6efd4508e2fe4229871f4b1bb5cf810 # tags/v1.9.2^0
+source=(git://github.com/containers/buildah.git#commit=$_commit)
+md5sums=('SKIP')
+
+pkgver() {
+ cd buildah
+ git describe --tags | sed 's/^[vV]//;s/-/+/g'
+}
+
+prepare() {
+ mkdir -p src/github.com/containers
+ cp -r $pkgname src/github.com/containers
+}
+
+build() {
+ export GOPATH="${srcdir}"
+ cd src/github.com/containers/buildah
+ make PREFIX=/usr BUILDTAGS="containers_image_ostree_stub ostree seccomp"
+}
+
+package() {
+ cd src/github.com/containers/buildah
+ make DESTDIR="$pkgdir" PREFIX=usr install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list