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

Christian Rebischke shibumi at gemini.archlinux.org
Sat Jun 11 17:18:26 UTC 2022


    Date: Saturday, June 11, 2022 @ 17:18:26
  Author: shibumi
Revision: 1233945

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-11 17:18:18 UTC (rev 1233944)
+++ PKGBUILD	2022-06-11 17:18:26 UTC (rev 1233945)
@@ -1,42 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=tanka
-pkgver=0.20.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=('a86a0f428f3b0f53b108bc781c6763c7d8945cc7b5b19429afc1fb80f6e3b3e316a251ce1cab8b0235ad7d627d3ede11591733da798da9b34a68838c97c10445')
-options=('!lto')
-
-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 1233944, tanka/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-11 17:18:26 UTC (rev 1233945)
@@ -0,0 +1,42 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=tanka
+pkgver=0.22.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=('daf64a3fc07d924899a5f21df767cc450cfbc6ccc09b838673d8e07d24db63ca15df0e6787c2e4b163a8ca88d78a4032ae4b6cc597e9352330ff45d32a861720')
+options=('!lto')
+
+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