blob: 0a03771efee6b6a0f3ac0986391893ec182c808e (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-text-csv_xs
_pkgreal=Text-CSV_XS
pkgver=1.19
pkgrel=0
pkgdesc="Perl module for Text-CSV_XS"
url="http://search.cpan.org/dist/Text-CSV_XS/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/$_pkgreal-$pkgver.tgz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor || return 1
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
fi
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="d25bb37e43a836a3f396faf387307548 Text-CSV_XS-1.19.tgz"
sha256sums="bcde887f613c6a50b0ce8f714cd2463570f5809f26581615690cfb424d2a7c16 Text-CSV_XS-1.19.tgz"
sha512sums="2948e535d5621643539e927fc6a650f56b19cfe257424d1422f5d4854c279dbebbc3d61b79d00de23eeff3de58ca53f6bd29fc2e8140fbeb1c2ece90942d4410 Text-CSV_XS-1.19.tgz"
|