sequoia-sq: update to 1.3.1.

This commit is contained in:
classabbyamp 2025-05-10 18:51:51 -04:00 committed by classabbyamp
parent 6e7194bf58
commit 6f1c0b3669

View file

@ -1,10 +1,11 @@
# Template file for 'sequoia-sq'
pkgname=sequoia-sq
version=1.2.0
version=1.3.1
revision=1
build_style=cargo
build_helper=qemu
_deps="nettle-devel openssl-devel sqlite-devel"
configure_args="--no-default-features --features crypto-openssl"
_deps="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"
@ -13,19 +14,20 @@ 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=7dc01df61daed42a9db3f8c6056070a450875ea65685e174a402b7729a7d8c5e
checksum=9f112096f413e195ec737c81abb5649604f16e1f6dbe64a8accc5bb3ad39e239
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_patch() {
# https://github.com/rust-lang/cc-rs/issues/1469
cargo update --package cc:1.2.16 --precise 1.2.14
}
pre_build() {
export ASSET_OUT_DIR=assets
}
post_install() {
for page in assets/man-pages/*; do
for page in assets/man-pages/*.?; do
vman ${page}
done
vcompletion assets/shell-completions/sq.bash bash