diff options
author | Ulrich Schreiner | 2020-05-09 15:48:07 +0200 |
---|---|---|
committer | Ulrich Schreiner | 2020-05-09 15:48:07 +0200 |
commit | b1dd4131c74f05e594fa98341127e8d41782ec1e (patch) | |
tree | a2fb726545e68681f79447b61fed26d9cac70422 | |
download | aur-b1dd4131c74f05e594fa98341127e8d41782ec1e.tar.gz |
initial release
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f91b61706d4f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = metalctl-bin + pkgdesc = A command line tool for metal-stack services + pkgver = 0.7.5 + pkgrel = 1 + url = https://github.com/metal-stack/metalctl + arch = x86_64 + license = MIT + provides = metalctl + source = https://github.com/metal-stack/metalctl/releases/download/v0.7.5/metalctl-linux-amd64 + md5sums = 30b6d834d6beaef7ae83cf2365b39bb2 + +pkgname = metalctl-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..395747df1d98 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Ulrich Schreiner <ulrich.schreiner@gmail.com> + +pkgname=metalctl-bin +pkgver=0.7.5 +pkgrel=1 +pkgdesc='A command line tool for metal-stack services' +url='https://github.com/metal-stack/metalctl' +license=('MIT') +arch=('x86_64') +provides=('metalctl') +source=("https://github.com/metal-stack/metalctl/releases/download/v$pkgver/metalctl-linux-amd64") +md5sums=('30b6d834d6beaef7ae83cf2365b39bb2') + +package() { + install -Dm 755 "$srcdir/metalctl-linux-amd64" "$pkgdir/usr/bin/metalctl" + + # Populate bash, zsh, and fish completions + install -dm 755 "$pkgdir/usr/share/bash-completion/completions" + install -dm 755 "$pkgdir/usr/share/zsh/site-functions" + "$pkgdir/usr/bin/metalctl" completion > "$pkgdir/usr/share/bash-completion/completions/metalctl" + "$pkgdir/usr/bin/metalctl" zsh-completion > "$pkgdir/usr/share/zsh/site-functions/_metalctl" +}
\ No newline at end of file |