Updated to v0.008

This commit is contained in:
Anton Leontiev 2013-11-10 18:37:44 +04:00
parent 621414a4bd
commit 36f6ff3c41
3 changed files with 23 additions and 23 deletions

View file

@ -1,6 +1,6 @@
pkgbase = perl-test-failwarnings
pkgdesc = A Perl package that add test failures if warnings are caught
pkgver = 0.007
pkgver = 0.008
pkgrel = 1
url = http://search.cpan.org/dist/Test-FailWarnings
arch = any
@ -9,8 +9,8 @@ pkgbase = perl-test-failwarnings
checkdepends = perl-capture-tiny>=0.12
depends = perl>=5.10.1
options = !emptydirs
source = http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-0.007.tar.gz
md5sums = e81bafafa5ecb9455b970f99b726da7c
source = http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-0.008.tar.gz
md5sums = c03d51f550dbfd9945722ff7f4c32717
pkgname = perl-test-failwarnings

View file

@ -1,9 +1,9 @@
# CPAN Name : Test::FailWarnings
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator : CPANPLUS::Dist::Arch 1.25
# Generator : CPANPLUS::Dist::Arch 1.28
pkgname=perl-test-failwarnings
pkgver=0.007
pkgver=0.008
pkgrel=1
pkgdesc='A Perl package that add test failures if warnings are caught'
arch=('any')
@ -11,23 +11,23 @@ url='http://search.cpan.org/dist/Test-FailWarnings'
license=('Apache')
depends=('perl>=5.10.1')
checkdepends=('perl>=5.13.4' 'perl-capture-tiny>=0.12')
source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-0.007.tar.gz)
source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-0.008.tar.gz)
options=(!emptydirs)
md5sums=('e81bafafa5ecb9455b970f99b726da7c')
md5sums=('c03d51f550dbfd9945722ff7f4c32717')
build() {
cd Test-FailWarnings-0.007
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
cd Test-FailWarnings-0.008
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Test-FailWarnings-0.007
make test
cd Test-FailWarnings-0.008
make test
}
package() {
cd Test-FailWarnings-0.007
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
cd Test-FailWarnings-0.008
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}

View file

@ -16,18 +16,18 @@ options=(!emptydirs)
md5sums=('[% md5sums %]')
build() {
cd [% distdir %]
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
cd [% distdir %]
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd [% distdir %]
make test
cd [% distdir %]
make test
}
package() {
cd [% distdir %]
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
cd [% distdir %]
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}