mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 03:51:35 +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.73
|
|
pkgrel=0
|
|
pkgdesc="A fully featured Firefox Send client"
|
|
url="https://gitlab.com/timvisee/ffsend"
|
|
arch="all !mips !mips64 !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="
|
|
780caa612ae9e0d49699d3dce7164327fe6baef7f0149ae4466eecd27c5398b6bf1e78c451878c3b7dc10fa09ee1d22c5fb2fb7f0f34ae4d535ddd477ed239c8 ffsend-v0.2.73.tar.gz
|
|
"
|