void-packages/srcpkgs/sequoia-sop/template

28 lines
903 B
Bash

# Template file for 'sequoia-sop'
pkgname=sequoia-sop
version=0.35.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=2aa20ff9143ddc4c53b0e9ec377ac230778df099740284080be88841a1a13ee7
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
}