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

main/perl-www-robotrules: remove unnecessary perl-dev from makedepends

parent 09dfc4a7
No related merge requests found
...@@ -8,8 +8,6 @@ url="https://metacpan.org/release/WWW-RobotRules/" ...@@ -8,8 +8,6 @@ url="https://metacpan.org/release/WWW-RobotRules/"
arch="noarch" arch="noarch"
license="GPL-2.0 or Artistic" license="GPL-2.0 or Artistic"
depends="perl perl-uri" depends="perl perl-uri"
makedepends="perl-dev"
install=""
replaces="perl-libwww" replaces="perl-libwww"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-$pkgver.tar.gz"
...@@ -17,18 +15,15 @@ source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-$pkgver.ta ...@@ -17,18 +15,15 @@ source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-$pkgver.ta
builddir="$srcdir"/WWW-RobotRules-$pkgver builddir="$srcdir"/WWW-RobotRules-$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