[arch-commits] Commit in knative-client/trunk (PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Wed Nov 3 23:57:50 UTC 2021
Date: Wednesday, November 3, 2021 @ 23:57:50
Author: shibumi
Revision: 1035800
upgpkg: knative-client 1.0.0-1
Modified:
knative-client/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 23:47:43 UTC (rev 1035799)
+++ PKGBUILD 2021-11-03 23:57:50 UTC (rev 1035800)
@@ -2,7 +2,7 @@
pkgname=knative-client
_pkgname=client
-pkgver=0.26.0
+pkgver=1.0.0
pkgrel=1
pkgdesc="knative client"
arch=('x86_64')
@@ -10,12 +10,12 @@
license=('Apache')
makedepends=('go')
depends=('glibc')
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/knative/${_pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('2ad7f187d05803cc38f8b30025e7f7f14530451816524f94a0da8290f702587c0bda6b1a8b81fbe0e7792cb09f3bce50777a3ab63bd904bd46b12318a3ea8991')
-b2sums=('befc258b6d9c3080dedf54d7476785c7443ff872a5b739282f561e1655e55b494e7d1b5c24670dbd673b192c2fe30cb21953b5c8691bccd3f8975f4894ceef3e')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/knative/${_pkgname}/archive/refs/tags/knative-v${pkgver}.tar.gz")
+sha512sums=('fce77769b91f2a5fb0c21e1b70f37f542661cef4dd6b523335d1f6d68388d41674fc3987056f8a3054457d70e501a9eb450fda1efe4783a563a7399d9c8154f7')
+b2sums=('38bba50fbdd371e88f6b21fb83cb22f0fdd1c140f5af767af1052b934d7aad6b4cfcb53a9144c71382ab9b443df0f08396c512498c5c8bbf730a77713944ac8f')
build() {
- cd "${_pkgname}-${pkgver}/cmd/kn"
+ cd "client-knative-v${pkgver}/cmd/kn"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
@@ -25,12 +25,12 @@
}
check() {
- cd "${_pkgname}-${pkgver}"
+ cd "client-knative-v${pkgver}"
go test -v ./...
}
package() {
- cd "${_pkgname}-${pkgver}/cmd/kn"
+ cd "client-knative-v${pkgver}/cmd/kn"
mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
./kn completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_kn"
More information about the arch-commits
mailing list