blob: 91e8f63f3c57995edfd00e511d0a7ae7003bdfe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Johannes Bruederl <johannes.bruederl@gmail.com>
# Contributor: MichaĆ Lisowski <lisu@riseup.net>
pkgname='kaf-bin'
pkgver=0.2.8
pkgrel=1
pkgdesc='Kafka CLI inspired by kubectl & docker'
url=''
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('kaf-bin')
conflicts=('kaf-bin' 'kaf')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/birdayz/kaf/releases/download/v0.2.8/kaf_0.2.8_Linux_arm64.tar.gz")
sha256sums_aarch64=('7cc2f6b0b57360f587be3e74271e9ce9809a6011e8ec93092d7002e93cc02e7e')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/birdayz/kaf/releases/download/v0.2.8/kaf_0.2.8_Linux_x86_64.tar.gz")
sha256sums_x86_64=('ef8e143674a8fe242d63c62fb4d52adc6461a8b504345a2bf8fb77ff9020a731')
package() {
# bin
install -Dm755 "./kaf" "${pkgdir}/usr/bin/kaf"
# completions
# bash
mkdir -p "${pkgdir}/etc/bash_completion.d"
./kaf completion bash > "${pkgdir}/etc/bash_completion.d/kaf"
# zsh
mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
./kaf completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_kaf"
# Fish
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d"
./kaf completion fish > ${pkgdir}/usr/share/fish/vendor_completions.d/kaf.fish
}
|