mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 07:11:59 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=ffsend
|
|
pkgver=0.2.74
|
|
pkgrel=1
|
|
pkgdesc="A fully featured Firefox Send client"
|
|
url="https://gitlab.com/timvisee/ffsend"
|
|
arch="all !ppc64le !s390x !riscv64" # limited by cargo, ring dep
|
|
license="GPL-3.0-only"
|
|
makedepends="cargo openssl-dev"
|
|
subpackages="
|
|
$pkgname-zsh-completion
|
|
$pkgname-fish-completion
|
|
$pkgname-bash-completion
|
|
"
|
|
source="https://gitlab.com/timvisee/ffsend/-/archive/v$pkgver/ffsend-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --locked
|
|
}
|
|
|
|
package() {
|
|
cargo install --locked --path . --root="$pkgdir/usr"
|
|
rm "$pkgdir"/usr/.crates*
|
|
|
|
install -Dm644 "$builddir"/contrib/completions/ffsend.bash \
|
|
"$pkgdir"/usr/share/bash-completion/completions/ffsend
|
|
install -Dm644 "$builddir"/contrib/completions/_ffsend \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_ffsend
|
|
install -Dm644 "$builddir"/contrib/completions/ffsend.fish \
|
|
"$pkgdir"/usr/share/fish/completions/ffsend.fish
|
|
}
|
|
|
|
sha512sums="
|
|
f959c4a6a10ff1cbbba2da5eda0305f0e5a93f3f6fb64290cdf886f6a76aa059b05026be97f99a80e3d4688e156063e36fca2f40e42fcbec1cc7a307cad54958 ffsend-v0.2.74.tar.gz
|
|
"
|