summaryrefslogtreecommitdiff
path: root/community/pcsc-tools/PKGBUILD
blob: 510ffeff2c9545aa70fae6a12259e250780f0e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 61978 2012-01-12 11:22:03Z 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.18
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=('647ec2779cec69c910906fe5496f4e6c')

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
}