void-packages/srcpkgs/sequoia-sop/template

28 lines
903 B
Bash

# Template file for 'sequoia-sop'
pkgname=sequoia-sop
version=0.34.0
revision=1
build_style=cargo
configure_args="--bin sqop --features cli,sequoia-openpgp/compression"
hostmakedepends="pkg-config llvm clang"
makedepends="nettle-devel bzip2-devel"
short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
checksum=06ce545acfb1a96322481591c2d8035da3d45d6c4209bd3121dfce1dc4b10089
pre_build() {
export ASSET_OUT_DIR=assets
}
post_install() {
for page in man-sqop/*; do
vman ${page}
done
vcompletion assets/shell-completions/_sqop zsh
vcompletion assets/shell-completions/sqop.bash bash
vcompletion assets/shell-completions/sqop.fish fish
}