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

community/perl-regexp-common-net-cidr: remove unnecessary perl-dev from makedepends

parent fd925752
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !22875. Comments created here will be created in the context of that merge request.
...@@ -8,25 +8,22 @@ url="https://metacpan.org/release/Regexp-Common-net-CIDR/" ...@@ -8,25 +8,22 @@ url="https://metacpan.org/release/Regexp-Common-net-CIDR/"
arch="noarch" arch="noarch"
license="GPL-2.0 or Artistic" license="GPL-2.0 or Artistic"
depends="perl perl-regexp-common" depends="perl perl-regexp-common"
makedepends="perl-dev perl-module-install" makedepends="perl-module-install"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BP/BPS/Regexp-Common-net-CIDR-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/B/BP/BPS/Regexp-Common-net-CIDR-$pkgver.tar.gz"
builddir="$srcdir/Regexp-Common-net-CIDR-$pkgver" builddir="$srcdir/Regexp-Common-net-CIDR-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete 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