blob: 2c2902c714654a23812e5cef55ead157d39209f6 (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: German Lashevich <german.lashevich at gmail dot com>
pkgname='myks-bin'
pkgver=4.2.4
pkgrel=1
pkgdesc='Configuration framework for Kubernetes applications'
url='https://github.com/mykso/myks'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('myks')
conflicts=('myks')
optdepends=('vendir: for downloading from external sources' 'git: for smart detection of changes' 'helm: for rendering helm charts')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/mykso/myks/releases/download/v4.2.4/myks_4.2.4_linux_arm64.tar.gz")
sha256sums_aarch64=('42c5fa3095343d777626f7b469d3dd72c4f87c5fa7377a33542ac4e9a2fe6bcc')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/mykso/myks/releases/download/v4.2.4/myks_4.2.4_linux_amd64.tar.gz")
sha256sums_x86_64=('45fdf541cbe85bb3b785a2adcb8b91cc1fd5de03a67487c37ad11f320feeeaa1')
package() {
BIN=myks
install -Dm755 ./$BIN -t "${pkgdir}/usr/bin"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
./$BIN completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/$BIN"
./$BIN completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/$BIN.fish"
./$BIN completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_$BIN"
}
|