Commit b2c40541 authored by Natanael Copa's avatar Natanael Copa

main/perl-test-inter: upgrade to 1.05

parent ea24e722
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-inter
_realname=Test-Inter
pkgver=1.03
_pkgreal=Test-Inter
pkgver=1.05
pkgrel=0
pkgdesc="Perl - Framework for more readable interactive test scripts"
url="http://search.cpan.org/~sbeck/$_realname-$pkgver/"
pkgdesc="framework for more readable interactive test scripts"
url="http://search.cpan.org/dist/Test-Inter/"
arch="noarch"
license="Artistic GPL"
depends="perl perl-test-pod perl-pod-coverage perl-test-pod-coverage"
makedepends="perl-dev"
install=
#subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_realname-$pkgver.tar.gz"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make test || return 1
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="02705664dc874bc8b59b9b313a7572f5 Test-Inter-1.03.tar.gz"
md5sums="5c021ced9a642f9bb28aa0b8ac6f50a1 Test-Inter-1.05.tar.gz"
sha256sums="bda95ef503f1c1b39a5cd1ea686d18a67a63b56a8eb458f0614fc2acc51f7988 Test-Inter-1.05.tar.gz"
sha512sums="8c9a2b5be22017f4b3394b009aad26876211bc2973261687b98ab6b2d055875a4920225a6d596ee53b396a5eb240f9376bb2794ce4e64854c9e5ce1e86a5c534 Test-Inter-1.05.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment