summaryrefslogtreecommitdiff
path: root/community/pcsc-tools/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/pcsc-tools/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/pcsc-tools/PKGBUILD')
-rw-r--r--community/pcsc-tools/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/pcsc-tools/PKGBUILD b/community/pcsc-tools/PKGBUILD
new file mode 100644
index 000000000..7bbb5a918
--- /dev/null
+++ b/community/pcsc-tools/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 81203 2012-12-13 02:21:32Z 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.21
+pkgrel=1
+pkgdesc="PC/SC Architecture smartcard tools"
+arch=('i686' 'x86_64')
+url="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
+license=('GPL')
+depends=('pcsclite' 'pcsc-perl' 'gtk2-perl' 'glib-perl')
+makedepends=('pkg-config')
+source=("http://ludovic.rousseau.free.fr/softwares/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('c5ec17124aab4e933d537d6253046423')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i -e 's:-Wall -O2:${CFLAGS}:g' Makefile
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}/usr" install
+}