mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 07:32:21 +01:00
Initial commit
This commit is contained in:
commit
c143ab245d
4 changed files with 87 additions and 0 deletions
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
pkgbase = perl-test-failwarnings
|
||||
pkgdesc = A Perl package that add test failures if warnings are caught
|
||||
pkgver = 0.005
|
||||
pkgrel = 1
|
||||
url = http://search.cpan.org/dist/Test-FailWarnings
|
||||
arch = any
|
||||
license = Apache
|
||||
checkdepends = perl-capture-tiny
|
||||
depends = perl>=5.10.1
|
||||
options = !emptydirs
|
||||
source = http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-0.005.tar.gz
|
||||
md5sums = b73257948f9b656487216f3a95812d32
|
||||
|
||||
pkgname = perl-test-failwarnings
|
||||
|
||||
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.tar.gz
|
||||
*.tar.bz2
|
||||
*.tar.xz
|
||||
*.tar.lz
|
||||
src/
|
||||
pkg/
|
||||
33
PKGBUILD
Normal file
33
PKGBUILD
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# CPAN Name : Test::FailWarnings
|
||||
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
|
||||
# Generator : CPANPLUS::Dist::Arch 1.25
|
||||
|
||||
pkgname=perl-test-failwarnings
|
||||
pkgver=0.005
|
||||
pkgrel=1
|
||||
pkgdesc='A Perl package that add test failures if warnings are caught'
|
||||
arch=('any')
|
||||
url='http://search.cpan.org/dist/Test-FailWarnings'
|
||||
license=('Apache')
|
||||
depends=('perl>=5.10.1')
|
||||
checkdepends=('perl-capture-tiny')
|
||||
source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-0.005.tar.gz)
|
||||
options=(!emptydirs)
|
||||
md5sums=('b73257948f9b656487216f3a95812d32')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/Test-FailWarnings-0.005"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/Test-FailWarnings-0.005"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/Test-FailWarnings-0.005"
|
||||
make install DESTDIR="$pkgdir"
|
||||
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
|
||||
}
|
||||
33
PKGBUILD.tt
Normal file
33
PKGBUILD.tt
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# CPAN Name : Test::FailWarnings
|
||||
# Contributor: [% packager %]
|
||||
# Generator : CPANPLUS::Dist::Arch [% version %]
|
||||
|
||||
pkgname=[% pkgname %]
|
||||
pkgver=[% pkgver %]
|
||||
pkgrel=[% pkgrel %]
|
||||
pkgdesc='A Perl package that add test failures if warnings are caught'
|
||||
arch=('any')
|
||||
url='[% url %]'
|
||||
license=('Apache')
|
||||
depends=('perl>=5.10.1')
|
||||
checkdepends=('perl-capture-tiny')
|
||||
source=([% source %])
|
||||
options=(!emptydirs)
|
||||
md5sums=('[% md5sums %]')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/[% distdir %]"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/[% distdir %]"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/[% distdir %]"
|
||||
make install DESTDIR="$pkgdir"
|
||||
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue