mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-07 08:51:40 +01:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=ffsend
|
|
pkgver=0.2.68
|
|
pkgrel=1
|
|
pkgdesc="A fully featured Firefox Send client"
|
|
url="https://gitlab.com/timvisee/ffsend"
|
|
arch="all !mips !mips64 !ppc64le !s390x" # 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 --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="78e5197271ea9ef5395f9fa92414eb39a7b4db05c74986ee8e1a7fe6989ed7a42772a7f21161b4ecbe2826ee371f4e39567635d3c1bf49b172e8e3aef1422696 ffsend-v0.2.68.tar.gz"
|