summaryrefslogtreecommitdiff
path: root/community/opensc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/opensc/PKGBUILD')
-rw-r--r--community/opensc/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/opensc/PKGBUILD b/community/opensc/PKGBUILD
index d841f7f5c..5f07606f5 100644
--- a/community/opensc/PKGBUILD
+++ b/community/opensc/PKGBUILD
@@ -1,20 +1,29 @@
-# $Id: PKGBUILD 84027 2013-02-08 13:50:52Z seblu $
+# $Id: PKGBUILD 100414 2013-11-03 18:13:58Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: kevku <kevku@msn.com>
pkgname=opensc
pkgver=0.13.0
-pkgrel=2
-pkgdesc='Access smart cards that support cryptographic operations'
+pkgrel=4
+pkgdesc='Tools and libraries for smart cards'
arch=('x86_64' 'i686' 'mips64el')
-url='http://www.opensc-project.org/opensc/'
+url='https://github.com/OpenSC/OpenSC/wiki'
license=('LGPL')
backup=('etc/opensc.conf')
makedepends=('docbook-xsl')
depends=('openssl' 'pcsclite' 'libltdl')
-options=('!libtool' '!emptydirs')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('74a10de6c646bdaae307d6dc9e9accc0')
+options=('!emptydirs')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ '0001-pkcs15-regression-in-e35febe-compute-cert-length.patch'
+ '0002-epass2003-properly-disable-padding.patch')
+md5sums=('74a10de6c646bdaae307d6dc9e9accc0'
+ '49a0989c169decf6876a3a9631289dbc'
+ '68fe80c8fb6c28c0bcf9d36e3245e4ae')
+
+prepare() {
+ patch -p1 -d $pkgname-$pkgver < 0001-pkcs15-regression-in-e35febe-compute-cert-length.patch
+ patch -p1 -d $pkgname-$pkgver < 0002-epass2003-properly-disable-padding.patch
+}
build() {
cd $pkgname-$pkgver