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

Christian Rebischke shibumi at archlinux.org
Sat May 29 23:40:12 UTC 2021


    Date: Saturday, May 29, 2021 @ 23:40:11
  Author: shibumi
Revision: 950294

archrelease: copy trunk to community-x86_64

Added:
  tekton-cli/repos/community-x86_64/PKGBUILD
    (from rev 950293, tekton-cli/trunk/PKGBUILD)
Deleted:
  tekton-cli/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-29 23:40:06 UTC (rev 950293)
+++ PKGBUILD	2021-05-29 23:40:11 UTC (rev 950294)
@@ -1,39 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=tekton-cli
-pkgver=0.15.0
-pkgrel=3
-pkgdesc="CLI for interacting with the Tekton CI/CD pipeline"
-arch=('x86_64')
-url="https://github.com/tektoncd/cli"
-license=('Apache')
-makedepends=('go' 'git')
-depends=('glibc')
-source=("${pkgname}::git+https://github.com/tektoncd/cli#tag=v${pkgver}?signed")
-sha512sums=('SKIP')
-validpgpkeys=('2B68199819C7A977A9C7F5928E00E7B02807E02D')
-
-build() {
-  cd "${pkgname}/cmd/tkn"
-  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="-linkmode=external" .
-  chmod +x ./tkn
-  ./tkn completion bash > "${pkgname}-completion.bash"
-  ./tkn completion zsh > "${pkgname}-completion.zsh"
-}
-
-check() {
-  cd "${pkgname}/cmd/tkn"
-  go test ./...
-}
-
-package() {
-  cd "${pkgname}/cmd/tkn"
-  install -Dsm755 ./tkn "${pkgdir}/usr/bin/tkn"
-  install -Dm644 "${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-  install -Dm644 "${pkgname}-completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_tkn"
-}

Copied: tekton-cli/repos/community-x86_64/PKGBUILD (from rev 950293, tekton-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-29 23:40:11 UTC (rev 950294)
@@ -0,0 +1,41 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=tekton-cli
+pkgver=0.18.0
+pkgrel=1
+pkgdesc="CLI for interacting with the Tekton CI/CD pipeline"
+arch=('x86_64')
+url="https://github.com/tektoncd/cli"
+license=('Apache')
+makedepends=('go' 'git')
+depends=('glibc')
+source=("${pkgname}::git+https://github.com/tektoncd/cli#tag=v${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=(
+  '2B68199819C7A977A9C7F5928E00E7B02807E02D'
+  '426DA722C9ED3DDF28557E3D1F23F99E99873FBA')
+
+build() {
+  cd "${pkgname}/cmd/tkn"
+  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="-linkmode=external" .
+  chmod +x ./tkn
+  ./tkn completion bash > "${pkgname}-completion.bash"
+  ./tkn completion zsh > "${pkgname}-completion.zsh"
+}
+
+check() {
+  cd "${pkgname}/cmd/tkn"
+  go test ./...
+}
+
+package() {
+  cd "${pkgname}/cmd/tkn"
+  install -Dsm755 ./tkn "${pkgdir}/usr/bin/tkn"
+  install -Dm644 "${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+  install -Dm644 "${pkgname}-completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_tkn"
+}



More information about the arch-commits mailing list