Skip to content
Snippets Groups Projects
Commit ce8abaec authored by Timothy Legge's avatar Timothy Legge
Browse files

main/perl-test-failwarnings: remove unnecessary perl-dev from makedepends

parent dd80c012
No related branches found
No related tags found
No related merge requests found
......@@ -9,35 +9,28 @@ pkgdesc="Add test failures if warnings are caught"
url="https://metacpan.org/release/Test-FailWarnings/"
arch="noarch"
license="Apache-2.0"
cpandepends=""
cpanmakedepends="perl-capture-tiny"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
depends="perl"
makedepends="perl-capture-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment