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

Santiago Torres-Arias sangy at gemini.archlinux.org
Mon Jul 11 23:37:26 UTC 2022


    Date: Monday, July 11, 2022 @ 23:37:26
  Author: sangy
Revision: 1249819

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-11 23:36:58 UTC (rev 1249818)
+++ PKGBUILD	2022-07-11 23:37:26 UTC (rev 1249819)
@@ -1,45 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux dot org>
-# Maintainer: Daniel Milde <daniel at milde dot cz>
-
-pkgname=container-diff
-pkgver=0.17.0
-pkgrel=1
-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 CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-  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 1249818, container-diff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-11 23:37:26 UTC (rev 1249819)
@@ -0,0 +1,45 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux dot org>
+# Maintainer: Daniel Milde <daniel at milde dot cz>
+
+pkgname=container-diff
+pkgver=0.17.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 CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+  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