1 # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
3 pkgname=opensc-opendnie-svn
6 pkgdesc="Access smart cards that support cryptographic operations (with OpenDNIe driver) (SVN VERSION))"
8 url="http://www.opensc-project.org/opensc"
10 backup=(etc/opensc.conf)
11 depends=('pinentry' 'ccid' 'libltdl')
12 makedepends=('nasm' 'subversion' 'docbook-xsl')
15 options=('!emptydirs' '!libtool')
17 _svntrunk=https://svn.forge.morfeo-project.org/opendnie/opensc-opendnie/trunk/
18 _svnmod=opensc-opendnie
23 msg "Connecting to SVN server...."
25 if [ -d "${srcdir}"/"${_svnmod}" ] ; then
26 cd "${_svnmod}" && svn update
28 svn co "${_svntrunk}" "${_svnmod}"
31 [ -d "${srcdir}"/"${_svnmod}"-build ] && rm -fr "${srcdir}"/"${_svnmod}"-build
32 cp -R "${srcdir}"/"${_svnmod}" "${srcdir}"/"${_svnmod}"-build
34 msg "SVN checkout done or server timeout"
35 msg "Starting make..."
37 cd "${srcdir}"/"${_svnmod}"-build
39 ./configure --prefix=/usr --enable-doc --sysconfdir=/etc --with-xsl-stylesheetsdir=/usr/share/xml/docbook/xsl-stylesheets-`LANG=c pacman -Qi docbook-xsl | grep Version | cut -d " " -f10 |cut -d "-" -f1`
43 cd "${srcdir}"/"${_svnmod}"-build
44 make DESTDIR="${pkgdir}" install