1 # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
3 pkgname=opensc-dnie-svn
6 pkgdesc="Access smart cards that support cryptographic operations. with DNIe D.G.P official driver (Spanish electronic ID card). (Driver de la Direccion General de la Policia adaptado al OpenSC v 0.12 (SVN VERSION))"
8 url="http://www.opensc-project.org/opensc"
11 backup=(etc/opensc.conf)
12 depends=('zlib' 'openssl' 'pcsclite' 'pinentry')
13 makedepends=('nasm' 'subversion' 'libassuan')
15 conflicts=('opensc' 'opensc-dnie-devel')
19 _svntrunk=https://svn.forge.morfeo-project.org/opendnie/opensc-dnie/trunk/
25 msg "Updating SVN entries for OpenSC+DNIe patch"
26 svn co $_svntrunk $_svnmod
27 msg "SVN checkout done or server timeout"
28 cp -r * $_svnmod-build
31 msg "Starting make..."
34 ./configure --prefix=/usr --sysconfdir=/etc
36 make DESTDIR=${pkgdir} install || return 1