[arch-commits] Commit in buildah/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Nov 23 12:04:26 UTC 2019
Date: Saturday, November 23, 2019 @ 12:04:26
Author: foxboron
Revision: 532061
upgpkg: buildah 1.11.5-1
Modified:
buildah/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-23 12:00:01 UTC (rev 532060)
+++ PKGBUILD 2019-11-23 12:04:26 UTC (rev 532061)
@@ -1,7 +1,8 @@
# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
pkgname=buildah
-pkgver=1.11.4
+pkgver=1.11.5
pkgrel=1
pkgdesc="A tool which facilitates building OCI images"
arch=(x86_64)
@@ -10,7 +11,7 @@
depends=(ostree runc skopeo slirp4netns)
makedepends=(go-pie git bash-bats btrfs-progs device-mapper gpgme libassuan
bzip2 go-md2man runc skopeo)
-_commit=21b4778b359ef7d6efe877c2f90f3df67ad93609 # tags/v1.11.4
+_commit=7c97335f2c49fdb50bc7785ae7ff5e9ac80bc2d6 # tags/v1.11.5
source=(git://github.com/containers/buildah.git#commit=$_commit)
md5sums=('SKIP')
@@ -19,19 +20,14 @@
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
+ cd $pkgname
+ export GOFLAGS="-trimpath"
make PREFIX=/usr BUILDTAGS="containers_image_ostree_stub ostree seccomp" EXTRALDFLAGS="-ldflags '-extldflags ${LDFLAGS}'"
}
package() {
- cd src/github.com/containers/buildah
+ cd $pkgname
make DESTDIR="$pkgdir" PREFIX=usr install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list