archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-text-csv / trunk / PKGBUILD
blob903435641f8018e88807dae9107d4420b72b94da
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 pkgname='perl-text-csv'
4 _dist="Text-CSV"
5 pkgver=2.00
6 pkgrel=2
7 pkgdesc="comma-separated values manipulator"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 url="https://metacpan.org/release/Text-CSV"
13 source=("https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/${_dist}-${pkgver}.tar.gz")
14 md5sums=('435951d381e814b5ce51f570a6a1dc24')
15 sha512sums=('ac41e8e1a56f30eac9076e8c53584186df83e4b1bf32ac52aef862ff7a02ada2801df2eac710b89e06901342c8513844d3dbbc86fc53d7a3d3da5f91f69dd88f')
17 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
19 build() {
20     cd $_dist-$pkgver
21     export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
22     perl Makefile.PL
23     make
26 check() {
27     cd $_dist-$pkgver
28     export PERL_MM_USE_DEFAULT=1
29     make test
32 package() {
33     cd $_dist-$pkgver
34     make install INSTALLDIRS=vendor DESTDIR="$pkgdir"