[arch-commits] Commit in skopeo/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Tue May 19 19:13:52 UTC 2020


    Date: Tuesday, May 19, 2020 @ 19:13:51
  Author: foxboron
Revision: 630092

upgpkg: skopeo 1.0.0-1

Modified:
  skopeo/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-19 19:13:37 UTC (rev 630091)
+++ PKGBUILD	2020-05-19 19:13:51 UTC (rev 630092)
@@ -2,7 +2,7 @@
 # Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 
 pkgname=skopeo
-pkgver=0.2.0
+pkgver=1.0.0
 pkgrel=1
 pkgdesc='A command line utility for various operations on container images and image repositories.'
 arch=(x86_64)
@@ -9,13 +9,13 @@
 url='https://github.com/projectatomic/skopeo'
 license=(APACHE)
 depends=(gpgme device-mapper)
-makedepends=(go-pie go-md2man btrfs-progs git)
+makedepends=(go go-md2man btrfs-progs git)
 backup=(etc/containers/policy.json
         etc/containers/registries.conf
         etc/containers/registries.d/default.yaml
         etc/containers/seccomp.json
         etc/containers/storage.conf)
-_commit=1119299c4b27e16680744e8bcf3b5362344a40d7 # tags/v0.2.0
+_commit=bd162028cd83ceecd8915736f2d66d5ca73ee54a # tags/v1.0.0
 source=(git+$url#commit=$_commit
         containers-storage.conf.5.md
         policy.json.5.md
@@ -38,8 +38,11 @@
 
 build() {
   cd $pkgname
-  export GOFLAGS="-trimpath"
-  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
   make binary-local BUILDTAGS='containers_image_ostree_stub'
   make docs
 }


More information about the arch-commits mailing list