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 branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,6 @@ url="https://metacpan.org/release/WWW-RobotRules/"
arch="noarch"
license="GPL-2.0 or Artistic"
depends="perl perl-uri"
makedepends="perl-dev"
install=""
replaces="perl-libwww"
subpackages="$pkgname-doc"
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
builddir="$srcdir"/WWW-RobotRules-$pkgver
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
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