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

Christian Rebischke shibumi at gemini.archlinux.org
Sun Jun 26 02:26:19 UTC 2022


    Date: Sunday, June 26, 2022 @ 02:26:18
  Author: shibumi
Revision: 1239487

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-26 02:26:06 UTC (rev 1239486)
+++ PKGBUILD	2022-06-26 02:26:18 UTC (rev 1239487)
@@ -1,42 +0,0 @@
-# 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"
-}

Copied: tanka/repos/community-x86_64/PKGBUILD (from rev 1239486, tanka/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-26 02:26:18 UTC (rev 1239487)
@@ -0,0 +1,42 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=tanka
+pkgver=0.22.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=('36a438a6a0f1c3f4b977a696888eeeb26389d25f99786575de6d04e656fab8fb167a605116c4c50ca220d413596aab03bea6939dfc698d4a63f926d2416f8024')
+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