void-packages/srcpkgs/sequoia-sq/template

30 lines
1015 B
Bash

# Template file for 'sequoia-sq'
pkgname=sequoia-sq
version=0.32.0
revision=1
build_style=cargo
build_helper=qemu
_deps="nettle-devel openssl-devel sqlite-devel"
hostmakedepends="pkg-config llvm clang ${_deps}"
makedepends="${_deps}"
short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-2.0-or-later"
homepage="https://sequoia-pgp.org/projects/#sq"
distfiles="https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v${version}/sequoia-sq-v${version}.tar.gz"
checksum=3d8a1cefb9db977696e84875bbd3401763695de32ec88afd7ea1f1823d8059c5
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
post_install() {
for page in man/*; do
vman ${page}
done
vcompletion completions/sq.bash bash
vcompletion completions/sq.fish fish
vcompletion completions/_sq zsh
}