[arch-commits] Commit in container-diff/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat Feb 27 16:06:50 UTC 2021


    Date: Saturday, February 27, 2021 @ 16:06:50
  Author: foxboron
Revision: 875220

archrelease: copy trunk to community-x86_64

Added:
  container-diff/repos/community-x86_64/PKGBUILD
    (from rev 875219, container-diff/trunk/PKGBUILD)
Deleted:
  container-diff/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-27 16:06:43 UTC (rev 875219)
+++ PKGBUILD	2021-02-27 16:06:50 UTC (rev 875220)
@@ -1,40 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux dot org>
-# Maintainer: Daniel Milde <daniel at milde dot cz>
-
-pkgname=container-diff
-pkgver=0.16.0
-pkgrel=1
-pkgdesc="Diff your Docker containers"
-arch=(x86_64)
-url="https://github.com/GoogleContainerTools/container-diff"
-license=('Apache')
-depends=('glibc')
-makedepends=("go" "dep" "git")
-checkdepends=("docker")
-source=("git+https://github.com/GoogleContainerTools/container-diff#tag=v${pkgver}")
-sha512sums=('SKIP')
-
-prepare() {
-  mkdir -vp "${srcdir}/src/github.com/GoogleContainerTools/"
-  mv "${srcdir}/${pkgname}" "${srcdir}/src/github.com/GoogleContainerTools/${pkgname}"
-}
-
-build() {
-  cd "${srcdir}/src/github.com/GoogleContainerTools/${pkgname}"
-  export GOPATH="${srcdir}"
-  make clean && make
-}
-
-check() {
-  #FIXME: This may ETIMEOUT if your computer is not fast enough...
-  #FIXME: we also need to instantiate our custom docker daemon
-  # (if you want to build on a chroot), which is rather tricky...
-  cd "${srcdir}/src/github.com/GoogleContainerTools/${pkgname}"
-  export GOPATH="${srcdir}"
-  make test integration -j | true
-}
-
-package() {
-  install -D -m0755 "src/github.com/GoogleContainerTools/${pkgname}/out/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm0644 "src/github.com/GoogleContainerTools/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: container-diff/repos/community-x86_64/PKGBUILD (from rev 875219, container-diff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-27 16:06:50 UTC (rev 875220)
@@ -0,0 +1,41 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux dot org>
+# Maintainer: Daniel Milde <daniel at milde dot cz>
+
+pkgname=container-diff
+pkgver=0.16.0
+pkgrel=2
+pkgdesc="Diff your Docker containers"
+arch=(x86_64)
+url="https://github.com/GoogleContainerTools/container-diff"
+license=('Apache')
+depends=('glibc')
+makedepends=("go" "git")
+checkdepends=("docker")
+source=("git+https://github.com/GoogleContainerTools/container-diff#tag=v${pkgver}")
+sha512sums=('SKIP')
+
+prepare() {
+  mkdir -vp "${srcdir}/src/github.com/GoogleContainerTools/"
+  mv "${srcdir}/${pkgname}" "${srcdir}/src/github.com/GoogleContainerTools/${pkgname}"
+}
+
+build() {
+  cd "${srcdir}/src/github.com/GoogleContainerTools/${pkgname}"
+  export GOPATH="${srcdir}"
+  export GOFLAGS="-buildmode=pie -trimpath"
+  make clean && make
+}
+
+check() {
+  #FIXME: This may ETIMEOUT if your computer is not fast enough...
+  #FIXME: we also need to instantiate our custom docker daemon
+  # (if you want to build on a chroot), which is rather tricky...
+  cd "${srcdir}/src/github.com/GoogleContainerTools/${pkgname}"
+  export GOPATH="${srcdir}"
+  make test integration -j | true
+}
+
+package() {
+  install -D -m0755 "src/github.com/GoogleContainerTools/${pkgname}/out/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm0644 "src/github.com/GoogleContainerTools/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
+}


More information about the arch-commits mailing list