blob: 3a5ba169d6a81fc9fb8d702a243a38c34f7d05bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Hugo Parente Lima <hugo.pl@gmail.com>
pkgname=mgccli
pkgver=0.31.0
pkgrel=3
pkgdesc="Magalu Cloud CLI"
arch=("x86_64")
url="https://github.com/MagaluCloud/mgccli"
license=("GPL3")
source=("$pkgname-$pkgver.tar.gz::https://github.com/MagaluCloud/mgccli/releases/download/v${pkgver}/mgccli_${pkgver}_linux_amd64.tar.gz")
sha256sums=('299b0b192f8a7a07505539468dbc0aead6ea37327b5c9297cd31727f3c9a0fda')
build() {
./mgc completion basg > mgc.bash
}
package() {
install -Dm 0644 mgc.bash ${pkgdir}/usr/share/bash-completion/completions/mgc
install -Dm 0755 mgc ${pkgdir}/usr/bin/mgc
}
|