[arch-commits] Commit in kustomize/repos (community-x86_64 community-x86_64/PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Mar 15 02:49:39 UTC 2020
Date: Sunday, March 15, 2020 @ 02:49:39
Author: shibumi
Revision: 597729
archrelease: copy trunk to community-x86_64
Added:
kustomize/repos/community-x86_64/
kustomize/repos/community-x86_64/PKGBUILD
(from rev 597728, kustomize/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: kustomize/repos/community-x86_64/PKGBUILD (from rev 597728, kustomize/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-03-15 02:49:39 UTC (rev 597729)
@@ -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