gnupg2: fix docs location

This commit is contained in:
Paper Mountain Studio 2019-12-10 17:24:49 +01:00 committed by Helmut Pozimski
parent f2b68c08d5
commit 37521a3337

View file

@ -1,7 +1,7 @@
# Template file for 'gnupg2' # Template file for 'gnupg2'
pkgname=gnupg2 pkgname=gnupg2
version=2.2.19 version=2.2.19
revision=1 revision=2
wrksrc="gnupg-${version}" wrksrc="gnupg-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-libgcrypt-prefix=${XBPS_CROSS_BASE} configure_args="--with-libgcrypt-prefix=${XBPS_CROSS_BASE}
@ -27,12 +27,12 @@ pre_configure() {
post_install() { post_install() {
# remove conflicts with gnupg 1. # remove conflicts with gnupg 1.
rm ${DESTDIR}/usr/share/man/man7/gnupg.7 mv ${DESTDIR}/usr/share/man/man7/gnupg.7 ${DESTDIR}/usr/share/man/man7/gnupg2.7
vmkdir usr/share/examples vmkdir usr/share/examples
mv ${DESTDIR}/usr/share/doc/gnupg/examples ${DESTDIR}/usr/share/examples/gnupg2 mv ${DESTDIR}/usr/share/doc/gnupg/examples ${DESTDIR}/usr/share/examples/gnupg2
rm -rf ${DESTDIR}/usr/share/doc/gnupg mv ${DESTDIR}/usr/share/doc/gnupg ${DESTDIR}/usr/share/doc/gnupg2
} }
gnupg2-scdaemon_package() { gnupg2-scdaemon_package() {