blob: f67b747e336b5214a1062860df92c913559cf7bd (
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
|
# Maintainer: Clever Cloud CI <ci@clever-cloud.com>
pkgname=clever-tools-bin
pkgver=2.10.0
pkgrel=1
pkgdesc="Command Line Interface for Clever Cloud."
arch=('x86_64')
url="https://github.com/CleverCloud/clever-tools"
license=('Apache-2.0')
options=('!strip')
source=("clever-tools-2.10.0_linux.tar.gz::https://clever-tools.clever-cloud.com/releases/2.10.0/clever-tools-2.10.0_linux.tar.gz")
sha256sums=('725bd21540a7b71ba706ba1a7b6edc72e0486ba2a7dda3576dbe609bd7c2e224')
package() {
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/usr/share/bash-completion/completions"
install -d "${pkgdir}/usr/share/zsh/site-functions"
install "${srcdir}/clever-tools-2.10.0_linux/clever" "${pkgdir}/usr/bin/clever"
"${srcdir}/clever-tools-2.10.0_linux/clever" --bash-autocomplete-script /usr/bin/clever > "${pkgdir}/usr/share/bash-completion/completions/clever"
"${srcdir}/clever-tools-2.10.0_linux/clever" --zsh-autocomplete-script /usr/bin/clever > "${pkgdir}/usr/share/zsh/site-functions/_clever"
}
|