35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'sequoia-sq'
|
|
pkgname=sequoia-sq
|
|
version=0.39.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
_deps="nettle-devel openssl-devel sqlite-devel"
|
|
hostmakedepends="pkg-config llvm clang ${_deps} capnproto"
|
|
makedepends="${_deps} capnproto-devel"
|
|
short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://sequoia-pgp.org/projects/#sq"
|
|
changelog="https://gitlab.com/sequoia-pgp/sequoia-sq/-/raw/main/NEWS"
|
|
distfiles="https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v${version}/sequoia-sq-v${version}.tar.gz"
|
|
checksum=ee63c606adbfedeb32fbeacb522eac0f6a0a7358710da21fc602b2f8f74f7726
|
|
conflicts="squirrel"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv*l) nocross="Requires C libs included in build.rs, which is currently broken in xbps-src. These failures only manifest on a hf archs right now";;
|
|
esac
|
|
|
|
pre_build() {
|
|
export ASSET_OUT_DIR=assets
|
|
}
|
|
|
|
post_install() {
|
|
for page in assets/man-pages/*; do
|
|
vman ${page}
|
|
done
|
|
vcompletion assets/shell-completions/sq.bash bash
|
|
vcompletion assets/shell-completions/sq.fish fish
|
|
vcompletion assets/shell-completions/_sq zsh
|
|
}
|