[arch-commits] Commit in tekton-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sun May 15 16:09:12 UTC 2022
Date: Sunday, May 15, 2022 @ 16:09:12
Author: shibumi
Revision: 1207463
archrelease: copy trunk to community-x86_64
Added:
tekton-cli/repos/community-x86_64/PKGBUILD
(from rev 1207462, tekton-cli/trunk/PKGBUILD)
Deleted:
tekton-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 16:09:06 UTC (rev 1207462)
+++ PKGBUILD 2022-05-15 16:09:12 UTC (rev 1207463)
@@ -1,43 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=tekton-cli
-pkgver=0.22.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'
- 'D3409ED2C4FF2FFD842F26674C3B1CE0A1809F57'
- '1CA4F4F5B3F48519EDF0AF0B44B5C531CBDF0149')
-
-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 1207462, tekton-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 16:09:12 UTC (rev 1207463)
@@ -0,0 +1,44 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=tekton-cli
+pkgver=0.23.1
+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'
+ 'D3409ED2C4FF2FFD842F26674C3B1CE0A1809F57'
+ '52EAC9EE82A12AB3EC7CD8391BE88A14116AC57A'
+ '1CA4F4F5B3F48519EDF0AF0B44B5C531CBDF0149')
+
+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