updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / pyscard / PKGBUILD
blob9223052ee634f12871e2c4eddc19bf7e7c8a5a4e
1 # Contributor: Guenther Starnberger <gst@sysfrog.org>
2 # Maintainer: Emmanuel Gras <gras.emmanuel@gmail.com>
4 pkgname=pyscard
5 pkgver=1.6.12
6 pkgrel=6
7 pkgdesc="pyscard is a Python module adding smart cards support to Python"
8 arch=('i686' 'x86_64')
9 url="http://pyscard.sourceforge.net/"
10 license='LGPL'
11 depends=('python2' 'pcsclite')
12 makedepends=('swig')
13 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname%20$pkgver/$pkgname-$pkgver.tar.gz)
14 md5sums=('908d2530972ea91eb4bb66987e0e1e98')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
18   python2 setup.py build
21 package() {
22   cd $srcdir/$pkgname-$pkgver
23   python2 setup.py install --root=$pkgdir
24   install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE