diff options
author | Didrole | 2022-06-01 11:11:23 +0200 |
---|---|---|
committer | Didrole | 2022-06-01 11:11:23 +0200 |
commit | 5b8f5cc42e48f27e13dc8f6826419e26ca4135c5 (patch) | |
tree | ef7882982f35027e0dae7ddda53aa87604fea361 | |
parent | 54c0f60e35c28171d3b5f7e332d9e5cc316366fe (diff) | |
download | aur-5b8f5cc42e48f27e13dc8f6826419e26ca4135c5.tar.gz |
Added bash completion.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = sia pkgdesc = Sia - Decentralized storage for the post-cloud world pkgver = 1.5.7 - pkgrel = 1 + pkgrel = 2 url = https://sia.tech arch = x86_64 license = MIT @@ -4,7 +4,7 @@ pkgbase=sia pkgname=('siad') pkgver=1.5.7 -pkgrel=1 +pkgrel=2 pkgdesc='Sia - Decentralized storage for the post-cloud world' arch=('x86_64') makedepends=('git' 'go') @@ -28,6 +28,8 @@ build() { export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" make release + + PATH="$srcdir/bin/" siac utils bash-completion "siac.bash-completion" } package() { @@ -45,6 +47,8 @@ package() { install -dm 755 "$pkgdir/usr/share/man/man1" cp -dp doc/manpages/* "$pkgdir/usr/share/man/man1" + install -Dm 644 "siac.bash-completion" "$pkgdir/usr/share/bash-completion/completions/siac" + install -Dm 755 "$srcdir/bin/siad" -t "$pkgdir/usr/bin" install -Dm 755 "$srcdir/bin/siac" -t "$pkgdir/usr/bin" } |