mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-03 03:21:35 +02:00
On x86, the stack protector was disabled by addinsg `-fno-stack-protector` to CFLAGS. This was due to rust not passing `-lssp_nonshared` to the linker, causing build errors while linking. Rust has been patched to fix this issue, so now we can enable stack protection again.
60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=ffsend
|
|
pkgver=0.2.58
|
|
pkgrel=1
|
|
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"
|
|
|
|
build() {
|
|
cargo build --release
|
|
}
|
|
|
|
check() {
|
|
cargo test --release
|
|
}
|
|
|
|
package() {
|
|
cargo install --path . --root="$pkgdir/usr"
|
|
rm "$pkgdir"/usr/.crates.toml
|
|
}
|
|
|
|
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="fce033654d639c0d187fda72a2e737299ede758ee363719b495872dc0f826cc11524d1b33a7793668997781b624a001789b0f48f485b29829172c82713facd40 ffsend-v0.2.58.tar.gz"
|