gnupg2: move scdaemon to gnupg2-scdaemon

scdaemon is not needed for most users, because it depends on
libusb-compat and libpcsclite its nicer to have it in a seperate
package.
This commit is contained in:
Duncaen 2016-06-28 21:39:49 +02:00
parent 327e39cc94
commit 57fccd8c94
2 changed files with 11 additions and 1 deletions

1
srcpkgs/gnupg2-scdaemon Symbolic link
View File

@ -0,0 +1 @@
gnupg2

View File

@ -1,7 +1,7 @@
# Template file for 'gnupg2'
pkgname=gnupg2
version=2.1.13
revision=2
revision=3
wrksrc="gnupg-${version}"
build_style=gnu-configure
configure_args="--sbindir=/usr/bin
@ -34,3 +34,12 @@ post_install() {
rm -rf ${DESTDIR}/usr/share/doc/gnupg
}
gnupg2-scdaemon_package() {
depends="${sourcepkg}>=${version}_${revision} libpcsclite"
short_desc+=" - smartcard daemon"
pkg_install() {
vmove usr/libexec/scdaemon
vmove usr/share/man/man1/scdaemon.1
}
}