# Contributor: Carlo Landmeter # Maintainer: pkgname=pcsc-perl pkgver=1.4.14 pkgrel=0 pkgdesc="Perl library allows to communicate with a smart card using PC/SC" url="http://ludovic.rousseau.free.fr/softwares/pcsc-perl/" arch="all" license="GPL-2.0" depends="perl" makedepends="pcsc-lite-dev perl-dev" install="" subpackages="$pkgname-doc" source="http://ludovic.rousseau.free.fr/softwares/pcsc-perl/pcsc-perl-$pkgver.tar.bz2" builddir="$srcdir/pcsc-perl-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="202aca1c122c8b91340411a4930f6d0d6f3d439d1783b7ad5e2a727bb015704045d66b5b5ba51f567672a6256606ad26e8390b9f243e329d6ccd05146edc229c pcsc-perl-1.4.14.tar.bz2"