mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
30 lines
844 B
Text
30 lines
844 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-www-robotrules
|
|
pkgver=6.02
|
|
pkgrel=5
|
|
pkgdesc="WWW::RobotRules perl module"
|
|
url="https://metacpan.org/release/WWW-RobotRules/"
|
|
arch="noarch"
|
|
license="Artistic-1.0-Perl OR GPL-1.0-or-later"
|
|
depends="perl perl-uri"
|
|
replaces="perl-libwww"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/WWW-RobotRules-$pkgver
|
|
|
|
build() {
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="781a2fc90e4efed901a91ecf4f2aaac2684409c6a75a8434ff140654838bb05d11f8fa760642e20eee96450d3ced6815a4dab11a4245bc8120c69ca68ab49e44 WWW-RobotRules-6.02.tar.gz"
|