New package: sequoia-sq-0.27.0
This commit is contained in:
parent
1a88035c9d
commit
48ab595ba5
2 changed files with 33 additions and 0 deletions
31
srcpkgs/sequoia-sq/template
Normal file
31
srcpkgs/sequoia-sq/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'sequoia-sq'
|
||||
pkgname=sequoia-sq
|
||||
version=0.27.0
|
||||
revision=1
|
||||
wrksrc="${pkgname}-v${version}"
|
||||
build_wrksrc="sq"
|
||||
build_style=cargo
|
||||
_deps="nettle-devel openssl-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/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
|
||||
checksum=e943528be6af2b14c5b9d3a011335233d985ee69f43700d29d99908359f8c345
|
||||
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() {
|
||||
vsed -e "/-Dwarnings/d" -i "${wrksrc}/.cargo/config.toml"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
for page in man-sq-autocrypt/*; do
|
||||
vman ${page}
|
||||
done
|
||||
}
|
2
srcpkgs/sequoia-sq/update
Normal file
2
srcpkgs/sequoia-sq/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
|
||||
pattern="<title>sq/v\K[\d.]+(?=</title>)"
|
Loading…
Add table
Add a link
Reference in a new issue