aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pcsc-perl/APKBUILD
blob: 05bc2fee096853d07e876ddf2dffb71ea6d690cc (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=pcsc-perl
pkgver=1.4.14
pkgrel=2
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"