[arch-commits] Commit in buildah/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Wed May 13 19:22:13 UTC 2020
Date: Wednesday, May 13, 2020 @ 19:22:12
Author: foxboron
Revision: 627753
upgpkg: buildah 1.14.9-1
Modified:
buildah/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-13 19:21:53 UTC (rev 627752)
+++ PKGBUILD 2020-05-13 19:22:12 UTC (rev 627753)
@@ -2,7 +2,7 @@
# Maintainer: Morten Linderud <foxboron at archlinux.org>
pkgname=buildah
-pkgver=1.14.8
+pkgver=1.14.9
pkgrel=1
pkgdesc="A tool which facilitates building OCI images"
arch=(x86_64)
@@ -9,9 +9,9 @@
url="https://github.com/containers/buildah"
license=(Apache)
depends=(runc skopeo slirp4netns)
-makedepends=(go-pie git bash-bats btrfs-progs device-mapper gpgme libassuan
+makedepends=(go git bash-bats btrfs-progs device-mapper gpgme libassuan
bzip2 go-md2man runc skopeo)
-_commit=155ce56a2cd2d5608cf43c998f1728af5e7a499b # tags/v1.14.8
+_commit=f3e0e16690ac1370953bb76516053acf399776a4 # tags/v1.14.9
source=(git+https://github.com/containers/buildah.git#commit=$_commit)
md5sums=('SKIP')
@@ -22,14 +22,16 @@
build() {
cd $pkgname
- export GOFLAGS="-trimpath"
- export CGO_LDFLAGS="$LDFLAGS"
+ export GOFLAGS="-buildmode=pie -trimpath"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
make PREFIX=/usr BUILDTAGS="containers_image_ostree_stub seccomp"
}
package() {
cd $pkgname
- make DESTDIR="$pkgdir" PREFIX=usr install
- make DESTDIR="$pkgdir" PREFIX=usr install.completions
+ make DESTDIR="$pkgdir" PREFIX=usr install install.completions
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list