diff options
Diffstat (limited to 'testing/perl-html-tableextract')
-rw-r--r-- | testing/perl-html-tableextract/APKBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/testing/perl-html-tableextract/APKBUILD b/testing/perl-html-tableextract/APKBUILD index c552c6a844..d96b27417a 100644 --- a/testing/perl-html-tableextract/APKBUILD +++ b/testing/perl-html-tableextract/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=perl-html-tableextract _pkgreal=HTML-TableExtract -pkgver=2.13 +pkgver=2.15 pkgrel=0 pkgdesc="unknown" url="http://search.cpan.org/dist/HTML-TableExtract/" @@ -16,26 +16,30 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/MS/MSISK/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" + +check() { + cd "$builddir" + make test +} prepare() { - cd "$_builddir" + cd "$builddir" + default_prepare export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="0d1d3f46a6a0336c5d20e61128e59cb6 HTML-TableExtract-2.13.tar.gz" -sha256sums="0a7d81a265d2d46aeeb277a9d7cd5f5e2c8e3765959b641252c8e0a175ad5106 HTML-TableExtract-2.13.tar.gz" -sha512sums="7a35952c37d6c2997e50901208cce06af97b597574f91a14d3e7700bef42df398721a6b42fe14bd3ed3733d248e80c2c8f0029c6e2caab4bc66a84474bdddf7c HTML-TableExtract-2.13.tar.gz" +sha512sums="54fe445bd4bfc55d244ba6ba9888ea556b1a93b384be1f935ae3e93dc6d9e07167fa0fa07365d7fbc89e0a4924a40ea10fdc63d2ebf55f8d5f0d2ed90848a607 HTML-TableExtract-2.15.tar.gz" |