aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ffsend
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-31 08:45:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-31 09:17:49 -0300
commitd29fc5c4c150508d8567cd6cfe799a4faa4f097b (patch)
tree3f53a8627a58dc479e98f444e7a0a422b2a87e24 /testing/ffsend
parentb73519524aa37afc70497ea768ac14c43eb475ac (diff)
downloadaports-d29fc5c4c150508d8567cd6cfe799a4faa4f097b.tar.bz2
aports-d29fc5c4c150508d8567cd6cfe799a4faa4f097b.tar.xz
testing/ffsend: upgrade to 0.2.51
Diffstat (limited to 'testing/ffsend')
-rw-r--r--testing/ffsend/APKBUILD36
1 files changed, 34 insertions, 2 deletions
diff --git a/testing/ffsend/APKBUILD b/testing/ffsend/APKBUILD
index 3179b97d0e..843016cd0d 100644
--- a/testing/ffsend/APKBUILD
+++ b/testing/ffsend/APKBUILD
@@ -1,13 +1,18 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=ffsend
-pkgver=0.2.50
+pkgver=0.2.51
pkgrel=0
pkgdesc=" A fully featured Firefox Send client"
url="https://gitlab.com/timvisee/ffsend"
arch="x86_64 x86 armhf armv7 aarch64 ppc64le" # limited by cargo
license="GPL-3.0-only"
makedepends="cargo openssl-dev"
+subpackages="
+ $pkgname-zsh-completion:zshcomp:noarch
+ $pkgname-fish-completion:fishcomp:noarch
+ $pkgname-bash-completion:bashcomp:noarch
+ "
source="https://gitlab.com/timvisee/ffsend/-/archive/v$pkgver/ffsend-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
@@ -30,4 +35,31 @@ package() {
rm "$pkgdir"/usr/.crates.toml
}
-sha512sums="9cf1bfb7be6ddf357b62930dec48b87654772419ba53c5da2ee9514c2a2b39020e14e9c0ab4820624b8852ee037258e6434fc92b9aaf772a783bce96b572c5e9 ffsend-v0.2.50.tar.gz"
+bashcomp() {
+ depends=""
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+ install -Dm644 "$builddir"/contrib/completions/ffsend.bash \
+ "$subpkgdir"/usr/share/bash-completion/completions/ffsend
+}
+
+zshcomp() {
+ depends=""
+ pkgdesc="Zsh compltions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel zsh"
+
+ install -Dm644 "$builddir"/contrib/completions/_ffsend \
+ "$subpkgdir"/usr/share/zsh/site-functions/_ffsend
+}
+
+fishcomp() {
+ depends=""
+ pkgdesc="Fish completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel fish"
+
+ install -Dm644 "$builddir"/contrib/completions/ffsend.fish \
+ "$subpkgdir"/usr/share/fish/completions/ffsend.fish
+}
+
+sha512sums="97477f59a498f4805340647c50c139d70ddbabaebb49b4acbae595ed9987fa2941b8d4dfd2edf76264b2a500fa10ac10f8583938fb29013936d9c092fe7fe7f1 ffsend-v0.2.51.tar.gz"