25 lines
1.1 KiB
Bash
25 lines
1.1 KiB
Bash
# Template file for 'sequoia-chameleon-gnupg'
|
|
pkgname=sequoia-chameleon-gnupg
|
|
version=0.10.1
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config llvm clang"
|
|
makedepends="nettle-devel openssl-devel sqlite-devel bzip2-devel"
|
|
checkdepends="gnupg faketime sequoia-sq"
|
|
short_desc="Re-implementation of gpg and gpgv from Sequoia OpenPGP"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg"
|
|
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"
|
|
checksum=dc0a5c29db249ba6500c2aa318d0c4e1cec1e35142255349371a5337a0205cf4
|
|
|
|
post_install() {
|
|
# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq
|
|
vmkdir /usr/libexec/sequoia
|
|
mv "${DESTDIR}"/usr/bin/gpg-sq "${DESTDIR}"/usr/libexec/sequoia/gpg
|
|
ln -s ../libexec/sequoia/gpg "${DESTDIR}"/usr/bin/gpg-sq
|
|
mv "${DESTDIR}"/usr/bin/gpgv-sq "${DESTDIR}"/usr/libexec/sequoia/gpgv
|
|
ln -s ../libexec/sequoia/gpgv "${DESTDIR}"/usr/bin/gpgv-sq
|
|
}
|