[arch-commits] Commit in knative-client/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Wed Nov 3 23:57:56 UTC 2021
Date: Wednesday, November 3, 2021 @ 23:57:56
Author: shibumi
Revision: 1035801
archrelease: copy trunk to community-x86_64
Added:
knative-client/repos/community-x86_64/PKGBUILD
(from rev 1035800, knative-client/trunk/PKGBUILD)
Deleted:
knative-client/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 23:57:50 UTC (rev 1035800)
+++ PKGBUILD 2021-11-03 23:57:56 UTC (rev 1035801)
@@ -1,39 +0,0 @@
-# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=knative-client
-_pkgname=client
-pkgver=0.26.0
-pkgrel=1
-pkgdesc="knative client"
-arch=('x86_64')
-url="https://github.com/knative/client"
-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')
-
-build() {
- cd "${_pkgname}-${pkgver}/cmd/kn"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
- go build -v
-}
-
-check() {
- cd "${_pkgname}-${pkgver}"
- go test -v ./...
-}
-
-package() {
- cd "${_pkgname}-${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"
- ./kn completion bash > "${pkgdir}/usr/share/bash-completion/completions/kn"
- install -Dm755 kn "${pkgdir}/usr/bin/kn"
-}
Copied: knative-client/repos/community-x86_64/PKGBUILD (from rev 1035800, knative-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-03 23:57:56 UTC (rev 1035801)
@@ -0,0 +1,39 @@
+# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=knative-client
+_pkgname=client
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="knative client"
+arch=('x86_64')
+url="https://github.com/knative/client"
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/knative/${_pkgname}/archive/refs/tags/knative-v${pkgver}.tar.gz")
+sha512sums=('fce77769b91f2a5fb0c21e1b70f37f542661cef4dd6b523335d1f6d68388d41674fc3987056f8a3054457d70e501a9eb450fda1efe4783a563a7399d9c8154f7')
+b2sums=('38bba50fbdd371e88f6b21fb83cb22f0fdd1c140f5af767af1052b934d7aad6b4cfcb53a9144c71382ab9b443df0f08396c512498c5c8bbf730a77713944ac8f')
+
+build() {
+ cd "client-knative-v${pkgver}/cmd/kn"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
+ go build -v
+}
+
+check() {
+ cd "client-knative-v${pkgver}"
+ go test -v ./...
+}
+
+package() {
+ 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"
+ ./kn completion bash > "${pkgdir}/usr/share/bash-completion/completions/kn"
+ install -Dm755 kn "${pkgdir}/usr/bin/kn"
+}
More information about the arch-commits
mailing list