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

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


    Date: Thursday, March 19, 2020 @ 23:11:30
  Author: shibumi
Revision: 601284

add popeye to community

Added:
  popeye/
  popeye/repos/
  popeye/trunk/
  popeye/trunk/PKGBUILD

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

Added: popeye/trunk/PKGBUILD
===================================================================
--- popeye/trunk/PKGBUILD	                        (rev 0)
+++ popeye/trunk/PKGBUILD	2020-03-19 23:11:30 UTC (rev 601284)
@@ -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