# $Id: PKGBUILD 105196 2014-02-02 17:02:19Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Lorenzo Nizzi Grifi Gargiolli # Contributor: marc0s pkgname=pcsc-tools pkgver=1.4.22 pkgrel=1 pkgdesc="PC/SC Architecture smartcard tools" arch=('i686' 'x86_64' 'mips64el') 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=('b519862fa75b61da72b7d09f20bbbc9f') 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 }