|
@@ -6,14 +6,14 @@
|
|
|
# - Mirror: https://github.com/timvisee/ffsend/blob/master/pkg/aur/ffsend-bin/PKGBUILD
|
|
|
|
|
|
pkgname=ffsend-bin
|
|
|
-pkgver=0.2.42 # automatically set in CI, see: /.gitlab-ci.yml
|
|
|
+pkgver=0.0.0 # automatically set in CI, see: /.gitlab-ci.yml
|
|
|
pkgrel=1
|
|
|
pkgdesc="Easily and securely share files from the command line. A Firefox Send client."
|
|
|
url="https://gitlab.com/timvisee/ffsend"
|
|
|
license=('GPL3')
|
|
|
-source=("ffsend-v${pkgver}::https://github.com/timvisee/ffsend/releases/download/v$pkgver/ffsend-v$pkgver-linux-x64-static"
|
|
|
- "ffsent.bash::https://raw.githubusercontent.com/timvisee/ffsend/master/contrib/completions/ffsend.bash"
|
|
|
- "ffsend.fish::https://raw.githubusercontent.com/timvisee/ffsend/master/contrib/completions/ffsend.fish") # automatically set in CI, see: /.gitlab-ci.yml
|
|
|
+source=("ffsend-v$pkgver::https://github.com/timvisee/ffsend/releases/download/v$pkgver/ffsend-v$pkgver-linux-x64-static"
|
|
|
+ "ffsend-v$pkgver.bash::https://raw.githubusercontent.com/timvisee/ffsend/v$pkgver/contrib/completions/ffsend.bash"
|
|
|
+ "ffsend-v$pkgver.fish::https://raw.githubusercontent.com/timvisee/ffsend/v$pkgver/contrib/completions/ffsend.fish") # automatically set in CI, see: /.gitlab-ci.yml
|
|
|
sha256sums=('SKIP')
|
|
|
arch=('x86_64')
|
|
|
provides=('ffsend')
|
|
@@ -23,12 +23,12 @@ optdepends=('xclip: clipboard support'
|
|
|
'bash-completion: support auto completion for bash')
|
|
|
|
|
|
package() {
|
|
|
- cd "${srcdir}"
|
|
|
+ cd "$srcdir"
|
|
|
|
|
|
# Install Binary
|
|
|
- install -Dm755 "ffsend" "$pkgdir/usr/bin/ffsend"
|
|
|
+ install -Dm755 "ffsend-v$pkgver" "$pkgdir/usr/bin/ffsend"
|
|
|
|
|
|
# Install 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"
|
|
|
+ install -Dm644 "ffsend-v$pkgver.bash" "$pkgver/usr/share/bash-completion/completions/ffsend"
|
|
|
+ install -Dm644 "ffsend-v$pkgver.fish" "$pkgver/usr/share/fish/vendor_completions.d/ffsend.fish"
|
|
|
}
|