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

Christian Rebischke shibumi at archlinux.org
Thu Jul 8 22:03:13 UTC 2021


    Date: Thursday, July 8, 2021 @ 22:03:13
  Author: shibumi
Revision: 975869

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-08 22:03:07 UTC (rev 975868)
+++ PKGBUILD	2021-07-08 22:03:13 UTC (rev 975869)
@@ -1,41 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=tanka
-pkgver=0.17.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=('933a0ae2b55fb52ddb9d6d5f966a656dc82f3d63f9ca764d460d526701c7d95b56dcfe0f68ca764bf368a154deef1afe13abbc08d3db4c677c9b54f035e3152b')
-
-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 975868, tanka/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-08 22:03:13 UTC (rev 975869)
@@ -0,0 +1,41 @@
+# 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"
+}




More information about the arch-commits mailing list