[arch-commits] Commit in tekton-cli/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Mon Oct 5 20:47:48 UTC 2020


    Date: Monday, October 5, 2020 @ 20:47:47
  Author: shibumi
Revision: 718959

upgpkg: tekton-cli 0.13.0-1

Modified:
  tekton-cli/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-05 19:47:00 UTC (rev 718958)
+++ PKGBUILD	2020-10-05 20:47:47 UTC (rev 718959)
@@ -7,29 +7,30 @@
 arch=('x86_64')
 url="https://github.com/tektoncd/cli"
 license=('Apache')
-makedepends=('go')
+makedepends=('go' 'git')
 depends=('glibc')
-source=("git+https://tektoncd/cli#tag=v${pkgver}?signed")
-sha512sums=('2fd305db1c57b7f9b473ce4f3334b031045100e5b624735a1ed0ba2986e4223cb1e5cacf71da98981b54450760b3ee5684d8732e0b7020474acff6d5808db53b')
-validpgpkeys=()
+source=("${pkgname}::git+https://github.com/tektoncd/cli#tag=v${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=('66065D8F9D35B506AE99401CFEF7D4F0202F2B22')
 
 build() {
-  cd "${_pkgname}-${pkgver}/cmd/tkn"
+  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"
+  export GOLDFLAGS="-linkmode=external"
   go build .
   chmod +x ./tkn
 }
 
 check() {
-  cd "${_pkgname}-${pkgver}/cmd/tkn"
+  cd "${pkgname}/cmd/tkn"
   go test ./...
 }
 
 package() {
-  cd "${_pkgname}-${pkgver}/cmd/tkn"
+  cd "${pkgname}/cmd/tkn"
   install -Dsm755 ./tkn "${pkgdir}/usr/bin/tkn"
 }



More information about the arch-commits mailing list