Commit 605d27da authored by Roberto Oliveira's avatar Roberto Oliveira Committed by Natanael Copa

main/perl-test2-plugin-nowarnings: upgrade to 0.06, update project url and modernize

parent a71a7b9f
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-test2-plugin-nowarnings
_pkgreal="Test2-Plugin-NoWarnings"
pkgver=0.04
pkgver=0.06
pkgrel=0
pkgdesc="Test2::Plugin::NoWarnings perl module"
url="http://search.cpan.org"
url="http://search.cpan.org/dist/Test2-Plugin-NoWarnings"
arch="noarch"
license="GPL or Artistic 2"
depends="perl-ipc-run3 perl-test2-suite perl-test-simple"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgreal-$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
}
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make && make test || return 1
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="e26bb1795ee9a0d382063977026cf795 Test2-Plugin-NoWarnings-0.04.tar.gz"
sha256sums="115be2623661b9acfde6c2f6e7bce260394296b8eda7431228388b37aeed61aa Test2-Plugin-NoWarnings-0.04.tar.gz"
sha512sums="47f57c5bd5bf78821265c520f8b5736bae4fb254cbef41e270f22b3c50429615e313ef38dfb74201b8b98a85f05c5f4a3e40a7eeb7bc2d9d9937ff081d34465d Test2-Plugin-NoWarnings-0.04.tar.gz"
sha512sums="aed9a3769085028adffd0aa7cbbe2d7d8b89b5f4768e47ae4155dcc1f4aa8fd47319ae7c87ddbc1ed08ca99e1d703eebb74977e88696ea4dcc1104a53332ade2 Test2-Plugin-NoWarnings-0.06.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