[arch-commits] Commit in knative-client/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Tue Apr 5 21:07:56 UTC 2022
Date: Tuesday, April 5, 2022 @ 21:07:55
Author: shibumi
Revision: 1181510
archrelease: copy trunk to community-x86_64
Added:
knative-client/repos/community-x86_64/PKGBUILD
(from rev 1181509, knative-client/trunk/PKGBUILD)
Deleted:
knative-client/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-05 21:07:45 UTC (rev 1181509)
+++ PKGBUILD 2022-04-05 21:07:55 UTC (rev 1181510)
@@ -1,39 +0,0 @@
-# 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"
-}
Copied: knative-client/repos/community-x86_64/PKGBUILD (from rev 1181509, knative-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-05 21:07:55 UTC (rev 1181510)
@@ -0,0 +1,39 @@
+# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=knative-client
+_pkgname=client
+pkgver=1.3.1
+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=('d837831d8c7d76ebd7c439b317b00747a6afccb6853fa4a74c87690e70091c13f75a36921c803c21ef9dc1f9fff38e07eeaaa11199f637d2bfa71a7535a8baa8')
+b2sums=('a723f125f142b40dc7bcb39d55a4add799ada159134b60e149183752635407579af11a4ed137799430447e71b8277064babeb9e5cd651795f2d470c7d4aaa5ca')
+
+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