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

Christian Rebischke shibumi at archlinux.org
Thu Jan 14 11:05:47 UTC 2021


    Date: Thursday, January 14, 2021 @ 11:05:47
  Author: shibumi
Revision: 820786

archrelease: copy trunk to community-x86_64

Added:
  kubeseal/repos/community-x86_64/
  kubeseal/repos/community-x86_64/PKGBUILD
    (from rev 820785, kubeseal/trunk/PKGBUILD)

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

Copied: kubeseal/repos/community-x86_64/PKGBUILD (from rev 820785, kubeseal/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-01-14 11:05:47 UTC (rev 820786)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: sseneca <me at ssene dot ca>
+# Contributor: ml <ml at visu.li>
+
+pkgname=kubeseal
+_pkgname=sealed-secrets
+pkgver=0.13.1
+pkgrel=3
+pkgdesc="A Kubernetes controller and tool for one-way encrypted Secrets"
+arch=('x86_64')
+url="https://github.com/bitnami-labs/sealed-secrets"
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('a766e8f1f662aa33507d7d02016d2eefcfb5ea383ed4d4e043070b823e6d1a5de2b89c8bd7f342688745cc0744ec7a867b7b64c0451f8847bb59ba0436588974')
+
+build() {
+  cd "${_pkgname}-${pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw"
+
+  go build -ldflags="-linkmode=external -X=main.VERSION=v${pkgver}" ./cmd/kubeseal
+}
+
+check() {
+  cd "${_pkgname}-${pkgver}"
+
+  go test ./cmd/kubeseal/... ./pkg/...
+}
+
+package() {
+  cd "${_pkgname}-${pkgver}"
+
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+}



More information about the arch-commits mailing list