blob: c39a9d2c16ed87ff9609f02f6d695bb16a5a4e40 (
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.1
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.1_linux.tar.gz::https://clever-tools.clever-cloud.com/releases/2.10.1/clever-tools-2.10.1_linux.tar.gz")
sha256sums=('4ea906322e77dca7b6d9170f64dc4888bd75dc0e82703c4e44a031618218fa58')
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.1_linux/clever" "${pkgdir}/usr/bin/clever"
"${srcdir}/clever-tools-2.10.1_linux/clever" --bash-autocomplete-script /usr/bin/clever > "${pkgdir}/usr/share/bash-completion/completions/clever"
"${srcdir}/clever-tools-2.10.1_linux/clever" --zsh-autocomplete-script /usr/bin/clever > "${pkgdir}/usr/share/zsh/site-functions/_clever"
}
|