summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8f23c41c02d..3ff8d0eac31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# - Mirror: https://github.com/timvisee/ffsend/blob/master/pkg/aur/ffsend-git/PKGBUILD
pkgname=ffsend-git
-pkgver=0.2.42.903c0312
+pkgver=0.2.43.2545708f
pkgrel=1
pkgdesc="Easily and securely share files from the command line. A Firefox Send client."
url="https://gitlab.com/timvisee/ffsend"
@@ -17,7 +17,8 @@ provides=('ffsend')
conflicts=('ffsend')
depends=('ca-certificates')
makedepends=('openssl>=1.0' 'rust>=1.32' 'cargo' 'cmake')
-optdepends=('xclip: clipboard support')
+optdepends=('xclip: clipboard support'
+ 'bash-completion: support auto completion for bash')
build() {
cd ffsend
@@ -25,5 +26,13 @@ build() {
}
package() {
- install -Dm755 "$srcdir/ffsend/target/release/ffsend" "$pkgdir/usr/bin/ffsend"
+ cd "$srcdir/ffsend"
+
+ # Install Binary
+ install -Dm755 "./target/release/ffsend" "$pkgdir/usr/bin/ffsend"
+
+ # Install completions
+ cd "./contrib/completions"
+ install -Dm644 "ffsend.bash" "$pkgver/usr/share/bash-completion/completions/ffsend"
+ install -Dm644 "ffsend.fish" "$pkgver/usr/share/fish/vendor_completions.d/ffsend.fish"
}