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

Morten Linderud foxboron at archlinux.org
Sun Jul 5 14:26:35 UTC 2020


    Date: Sunday, July 5, 2020 @ 14:26:34
  Author: foxboron
Revision: 657836

archrelease: copy trunk to community-x86_64

Added:
  popeye/repos/community-x86_64/PKGBUILD
    (from rev 657835, popeye/trunk/PKGBUILD)
Deleted:
  popeye/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   65 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 34 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 14:26:27 UTC (rev 657835)
+++ PKGBUILD	2020-07-05 14:26:34 UTC (rev 657836)
@@ -1,31 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=popeye
-pkgver=0.7.1
-pkgrel=1
-pkgdesc="Kubernetes cluster resource sanitizer"
-arch=('x86_64')
-url="https://github.com/kubernetes-sigs/kustomize"
-license=('Apache')
-makedepends=('go-pie' 'git')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/derailed/popeye/archive/v${pkgver}.tar.gz")
-md5sums=('f23609d2f87c3b88d9c01b6b92541368')
-
-build(){
-  cd "${pkgname}-${pkgver}"
-  go build  \
-  -trimpath \
-  -ldflags "-extldflags ${LDFLAGS}" .
-  chmod +x ./popeye
-}
-
-check(){
-  cd "${pkgname}-${pkgver}"
-  go test ./...
-}
-
-package(){
-  cd "${pkgname}-${pkgver}"
-  install -Dsm755 ./popeye "${pkgdir}/usr/bin/popeye"
-}

Copied: popeye/repos/community-x86_64/PKGBUILD (from rev 657835, popeye/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-05 14:26:34 UTC (rev 657836)
@@ -0,0 +1,34 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=popeye
+pkgver=0.7.1
+pkgrel=2
+pkgdesc="Kubernetes cluster resource sanitizer"
+arch=('x86_64')
+url="https://github.com/derailed/popeye"
+license=('Apache')
+makedepends=('go' 'git')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/derailed/popeye/archive/v${pkgver}.tar.gz")
+md5sums=('f23609d2f87c3b88d9c01b6b92541368')
+
+build(){
+  cd "${pkgname}-${pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go build .
+  chmod +x ./popeye
+}
+
+check(){
+  cd "${pkgname}-${pkgver}"
+  go test ./...
+}
+
+package(){
+  cd "${pkgname}-${pkgver}"
+  install -Dsm755 ./popeye "${pkgdir}/usr/bin/popeye"
+}



More information about the arch-commits mailing list