Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit bcd1c4d

Browse files
dvzrvsvntogit
authored and
svntogit
committed
archrelease: copy trunk to community-x86_64
git-svn-id: file:///srv/repos/svn-community/svn@1420991 9fca08f4-af9d-4005-b8df-a31f2cc04f65
1 parent 1c75ebf commit bcd1c4d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Diff for: repos/community-x86_64/PKGBUILD

+9-8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
pkgbase=cri-tools
44
pkgname=(crictl critest)
5-
pkgver=1.26.0
6-
_commit=cf1c8287fcef4444226e54482bf3827e8f804421 # v1.26.0
5+
pkgver=1.26.1
6+
_commit=300f0781645f12437b43fba5dd232733e0f2f82f # v1.26.1
77
pkgrel=1
88
pkgdesc="CLI and validation tools for Kubelet Container Runtime Interface (CRI)"
99
arch=(x86_64)
@@ -12,10 +12,9 @@ license=(Apache)
1212
groups=(kubernetes-tools)
1313
depends=(glibc)
1414
makedepends=(git go)
15-
options=(debug)
1615
# can only build from git: https://github.com/kubernetes-sigs/cri-tools/issues/676
1716
source=(
18-
git+https://github.com/kubernetes-sigs/$pkgbase#commit=$_commit
17+
git+$url#commit=$_commit
1918
$pkgbase-1.24.1-makefile.patch
2019
)
2120
sha512sums=('SKIP'
@@ -43,18 +42,20 @@ build() {
4342
mkdir -vp completions
4443
local _binary
4544
for _binary in crictl; do
46-
$pkgbase/build/bin/$_binary completion bash > completions/$_binary
47-
$pkgbase/build/bin/$_binary completion zsh > completions/_$_binary
45+
$pkgbase/build/bin/linux/amd64/$_binary completion bash > completions/$_binary
46+
$pkgbase/build/bin/linux/amd64/$_binary completion zsh > completions/_$_binary
47+
$pkgbase/build/bin/linux/amd64/$_binary completion fish > completions/$_binary.fish
4848
done
4949
}
5050

5151
package_crictl() {
5252
pkgdesc="A CLI for CRI-compatible container runtimes"
5353

54-
install -vDm 755 $pkgbase/build/bin/$pkgname -t "$pkgdir/usr/bin/"
54+
install -vDm 755 $pkgbase/build/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin/"
5555
# shell completion
5656
install -vDm 644 completions/$pkgname -t "$pkgdir/usr/share/bash-completion/completions/"
5757
install -vDm 644 completions/_$pkgname -t "$pkgdir/usr/share/zsh/site-functions/"
58+
install -vDm 644 completions/$pkgname.fish -t "$pkgdir/usr/share/fish/completions/"
5859
# docs
5960
install -vDm 644 $pkgbase/docs/$pkgname.md -t "$pkgdir/usr/share/doc/$pkgname/"
6061
install -vDm 644 $pkgbase/docs/examples/*.{json,yaml} -t "$pkgdir/usr/share/doc/$pkgname/examples/"
@@ -64,7 +65,7 @@ package_crictl() {
6465
package_critest() {
6566
pkgdesc="A benchmarking CLI for CRI-compatible container runtimes"
6667

67-
install -vDm 755 $pkgbase/build/bin/$pkgname -t "$pkgdir/usr/bin/"
68+
install -vDm 755 $pkgbase/build/bin/linux/amd64/$pkgname -t "$pkgdir/usr/bin/"
6869
# docs
6970
install -vDm 644 $pkgbase/docs/{benchmark,validation}.md -t "$pkgdir/usr/share/doc/$pkgname/"
7071
install -vDm 644 $pkgbase/{{CHANGELOG,CONTRIBUTING,README,code-of-conduct}.md,SECURITY_CONTACTS} -t "$pkgdir/usr/share/doc/$pkgname/"

0 commit comments

Comments
 (0)