mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
22 lines
740 B
Bash
22 lines
740 B
Bash
# Contributor: Francois Charette <firmicus@gmx.net>
|
|
|
|
pkgname=perl-test-nowarnings
|
|
pkgver=0.084
|
|
pkgrel=2
|
|
pkgdesc="Make sure you didn't emit any warnings while testing "
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/Test-NoWarnings"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl-test-tester')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/F/FD/FDALY/Test-NoWarnings-$pkgver.tar.gz)
|
|
md5sums=('26341294a4062e9e7d8a643485ca78d4')
|
|
|
|
build() {
|
|
cd $startdir/src/Test-NoWarnings-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|