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

Christian Rebischke shibumi at gemini.archlinux.org
Mon Nov 29 01:06:05 UTC 2021


    Date: Monday, November 29, 2021 @ 01:06:05
  Author: shibumi
Revision: 1056061

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 01:05:59 UTC (rev 1056060)
+++ PKGBUILD	2021-11-29 01:06:05 UTC (rev 1056061)
@@ -1,41 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=tanka
-pkgver=0.18.2
-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=('99fb2a474e93af91b3c5422edc23145f22b2819f1e9d919831bdee395ed41dee9e922657be52cd9d687343d041e7697cb32a78b8dbd269c4acacedb5619da983')
-
-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 1056060, tanka/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 01:06:05 UTC (rev 1056061)
@@ -0,0 +1,41 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=tanka
+pkgver=0.19.0
+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=('dc4851517a90a898b534d0785e56e052b380d4a2dff8bcdf82b8576017051b24296322c61af81cb457bb75f80633f1b8fbba0a89b6e922f274e520091cf32177')
+
+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