[arch-commits] Commit in (4 files)
Christian Rebischke
shibumi at archlinux.org
Sun Mar 15 02:48:26 UTC 2020
Date: Sunday, March 15, 2020 @ 02:48:25
Author: shibumi
Revision: 597728
move kustomize to community
Added:
kustomize/
kustomize/repos/
kustomize/trunk/
kustomize/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: kustomize/trunk/PKGBUILD
===================================================================
--- kustomize/trunk/PKGBUILD (rev 0)
+++ kustomize/trunk/PKGBUILD 2020-03-15 02:48:25 UTC (rev 597728)
@@ -0,0 +1,32 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=kustomize
+pkgver=3.3.1
+pkgrel=1
+_kustomize_commit=f2ac5a2d0df13c047fb20cbc12ef1a3b41ce2dad
+pkgdesc="Template-free customization of Kubernetes YAML manifests"
+arch=('x86_64')
+url="https://github.com/kubernetes-sigs/kustomize"
+license=('Apache')
+makedepends=('go-pie' 'git')
+depends=('glibc')
+source=("git+https://github.com/kubernetes-sigs/kustomize#commit=${_kustomize_commit}")
+sha512sums=('SKIP')
+
+build(){
+ cd "${pkgname}/${pkgname}"
+ go build \
+ -trimpath \
+ -ldflags "-extldflags ${LDFLAGS}" .
+ chmod +x ./kustomize
+}
+
+check(){
+ cd "${pkgname}/${pkgname}"
+ go test ./...
+}
+
+package(){
+ cd "${pkgname}/${pkgname}"
+ install -Dsm755 ./kustomize "${pkgdir}/usr/bin/kustomize"
+}
More information about the arch-commits
mailing list