mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
sequoia-chameleon-gnupg: update to 0.11.0.
This commit is contained in:
parent
cf653206ef
commit
338bb4fc79
1 changed files with 18 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'sequoia-chameleon-gnupg'
|
# Template file for 'sequoia-chameleon-gnupg'
|
||||||
pkgname=sequoia-chameleon-gnupg
|
pkgname=sequoia-chameleon-gnupg
|
||||||
version=0.10.1
|
version=0.11.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="pkg-config llvm clang"
|
hostmakedepends="pkg-config llvm clang"
|
||||||
|
@ -12,13 +12,25 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg"
|
homepage="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg"
|
||||||
changelog="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/raw/main/NEWS"
|
changelog="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/raw/main/NEWS"
|
||||||
distfiles="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/archive/v${version}/sequoia-chameleon-gnupg-v${version}.tar.gz"
|
distfiles="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/archive/v${version}/sequoia-chameleon-gnupg-v${version}.tar.gz"
|
||||||
checksum=dc0a5c29db249ba6500c2aa318d0c4e1cec1e35142255349371a5337a0205cf4
|
checksum=13a1c01d9a698b8daacfd74d89102f122d7fc81c51d51cf100ba0e77fbb825ab
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
export ASSET_OUT_DIR=assets
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq
|
# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq
|
||||||
vmkdir /usr/libexec/sequoia
|
vmkdir /usr/libexec/sequoia
|
||||||
mv "${DESTDIR}"/usr/bin/gpg-sq "${DESTDIR}"/usr/libexec/sequoia/gpg
|
for bin in gpg{,v}-sq; do
|
||||||
ln -s ../libexec/sequoia/gpg "${DESTDIR}"/usr/bin/gpg-sq
|
mv "${DESTDIR}/usr/bin/$bin" "${DESTDIR}/usr/libexec/sequoia/${bin%-sq}"
|
||||||
mv "${DESTDIR}"/usr/bin/gpgv-sq "${DESTDIR}"/usr/libexec/sequoia/gpgv
|
ln -s "../libexec/sequoia/${bin%-sq}" "${DESTDIR}/usr/bin/$bin"
|
||||||
ln -s ../libexec/sequoia/gpgv "${DESTDIR}"/usr/bin/gpgv-sq
|
|
||||||
|
vcompletion "assets/shell-completions/$bin.bash" bash "$bin"
|
||||||
|
vcompletion "assets/shell-completions/$bin.fish" fish "$bin"
|
||||||
|
vcompletion "assets/shell-completions/_$bin" zsh "$bin"
|
||||||
|
done
|
||||||
|
|
||||||
|
for page in assets/man-pages/*; do
|
||||||
|
vman "$page"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue