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

Christian Rebischke shibumi at archlinux.org
Thu Mar 19 23:11:50 UTC 2020


    Date: Thursday, March 19, 2020 @ 23:11:50
  Author: shibumi
Revision: 601285

archrelease: copy trunk to community-x86_64

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

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

Copied: popeye/repos/community-x86_64/PKGBUILD (from rev 601284, popeye/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-03-19 23:11:50 UTC (rev 601285)
@@ -0,0 +1,31 @@
+# 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"
+}



More information about the arch-commits mailing list