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

Christian Rebischke shibumi at gemini.archlinux.org
Thu Sep 2 22:38:53 UTC 2021


    Date: Thursday, September 2, 2021 @ 22:38:53
  Author: shibumi
Revision: 1010634

archrelease: copy trunk to community-x86_64

Added:
  tanka/repos/community-x86_64/PKGBUILD
    (from rev 1010633, tanka/trunk/PKGBUILD)
Deleted:
  tanka/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-02 22:38:08 UTC (rev 1010633)
+++ PKGBUILD	2021-09-02 22:38:53 UTC (rev 1010634)
@@ -1,41 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=tanka
-pkgver=0.17.1
-pkgrel=1
-pkgdesc="Flexible, reusable and concise configuration for Kubernetes"
-arch=('x86_64')
-url="https://github.com/grafana/tanka"
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/grafana/tanka/archive/v${pkgver}.tar.gz")
-sha512sums=('b00c36e1d695c413e81976a5a2e95d1af5a2350b4110819a32c1efffe9cd3b973ed233562ed34a80dfb4f1c3034a1835774b62819b39fa469eeb9b01d808e56e')
-
-prepare() {
-  export GOPATH="${srcdir}"
-  mkdir -p src/github.com/grafana "${GOPATH}/bin"
-  mv "${pkgname}-${pkgver}" "src/github.com/grafana/${pkgname}"
-  export PACKAGE_ROOT="${GOPATH}/src/github.com/grafana/${pkgname}"
-}
-
-build() {
-  cd "${PACKAGE_ROOT}/cmd/tk/"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  go build -ldflags "-s -w -linkmode=external -X github.com/grafana/tanka/pkg/tanka.CURRENT_VERSION=${pkgver}" -v .
-  chmod +x ./tk
-}
-
-check() {
-  cd "${PACKAGE_ROOT}"
-  go test -v ./...
-}
-
-package() {
-  cd "${PACKAGE_ROOT}/cmd/tk/"
-  install -Dsm755 ./tk "${pkgdir}/usr/bin/tk"
-}

Copied: tanka/repos/community-x86_64/PKGBUILD (from rev 1010633, tanka/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-02 22:38:53 UTC (rev 1010634)
@@ -0,0 +1,41 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=tanka
+pkgver=0.17.3
+pkgrel=1
+pkgdesc="Flexible, reusable and concise configuration for Kubernetes"
+arch=('x86_64')
+url="https://github.com/grafana/tanka"
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/grafana/tanka/archive/v${pkgver}.tar.gz")
+sha512sums=('54a241ae40956f89e28dc13557f79fc63227ac16b7707ee0ec5534cede71ea5de64b567720ffee0575168818c20f87800569e6d28d2cc2d135083c5dd3ee0296')
+
+prepare() {
+  export GOPATH="${srcdir}"
+  mkdir -p src/github.com/grafana "${GOPATH}/bin"
+  mv "${pkgname}-${pkgver}" "src/github.com/grafana/${pkgname}"
+  export PACKAGE_ROOT="${GOPATH}/src/github.com/grafana/${pkgname}"
+}
+
+build() {
+  cd "${PACKAGE_ROOT}/cmd/tk/"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go build -ldflags "-s -w -linkmode=external -X github.com/grafana/tanka/pkg/tanka.CURRENT_VERSION=${pkgver}" -v .
+  chmod +x ./tk
+}
+
+check() {
+  cd "${PACKAGE_ROOT}"
+  go test -v ./...
+}
+
+package() {
+  cd "${PACKAGE_ROOT}/cmd/tk/"
+  install -Dsm755 ./tk "${pkgdir}/usr/bin/tk"
+}



More information about the arch-commits mailing list