summaryrefslogtreecommitdiff
path: root/community/pcsc-tools/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/pcsc-tools/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/pcsc-tools/PKGBUILD')
-rw-r--r--community/pcsc-tools/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/pcsc-tools/PKGBUILD b/community/pcsc-tools/PKGBUILD
new file mode 100644
index 000000000..45bd7c450
--- /dev/null
+++ b/community/pcsc-tools/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 37124 2011-01-11 10:36:50Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Lorenzo Nizzi Grifi Gargiolli <lorenzo.nizzi.grifi@gmail.com>
+# Contributor: marc0s <marc0s@fsfe.org>
+
+pkgname=pcsc-tools
+pkgver=1.4.17
+pkgrel=2
+pkgdesc="PC/SC Architecture smartcard tools"
+arch=('i686' 'x86_64')
+url="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
+license=('GPL')
+depends=('pcsclite' 'perl')
+optdepends=('gtk2-perl: required by gscriptor'
+ 'glib-perl: required by gscriptor'
+ 'pcsc-perl: required by gscriptor and scriptor')
+makedepends=('pkgconfig')
+source=(http://ludovic.rousseau.free.fr/softwares/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('2767238e1e737f94d13a91bdab1174ca')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i -e 's:-Wall -O2:${CFLAGS}:g' Makefile
+
+ make || return 1
+ make DESTDIR="${pkgdir}/usr" install || return 1
+}