Commit 41ea0824 authored by Natanael Copa's avatar Natanael Copa
parents 76919e4b 50997f22
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-test-fatal
pkgver=0.005
_pkgreal=Test-Fatal
pkgver=0.006
pkgrel=0
pkgdesc="Test::Fatal perl module"
pkgdesc="incredibly simple helpers for testing code with exceptions"
url="http://search.cpan.org/dist/Test-Fatal/"
arch="noarch"
license="GPLv2 or Artistic"
depends="perl perl-try-tiny"
makedepends="perl-dev"
install=""
license="GPL PerlArtistic"
cpandepends="perl-try-tiny"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-$pkgver.tar.gz"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
_builddir="$srcdir"/Test-Fatal-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make && make test || return 1
make && make test
}
package() {
......@@ -36,4 +34,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="8fd91391e82ea4290eb0cf8409393485 Test-Fatal-0.005.tar.gz"
md5sums="a984aa4d4088892c0454cbfce35e54d9 Test-Fatal-0.006.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