35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'sequoia-sq'
|
|
pkgname=sequoia-sq
|
|
version=0.37.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=5c12733969f55ff0bb250c681552ebbc2e34e202c5401033ef73cab040022a2e
|
|
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
|
|
}
|