initial import
This commit is contained in:
32
perl-www-robotrules/PKGBUILD
Normal file
32
perl-www-robotrules/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-www-robotrules
|
||||
pkgver=6.02
|
||||
pkgrel=3
|
||||
pkgdesc="Database of robots.txt-derived permissions"
|
||||
arch=('any')
|
||||
url="https://metacpan.org/release/WWW-RobotRules"
|
||||
license=('GPL-1')
|
||||
depends=('perl' 'perl-uri')
|
||||
options=('!emptydirs')
|
||||
source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-${pkgver}.tar.gz
|
||||
COPYING)
|
||||
sha512sums=('781a2fc90e4efed901a91ecf4f2aaac2684409c6a75a8434ff140654838bb05d11f8fa760642e20eee96450d3ced6815a4dab11a4245bc8120c69ca68ab49e44'
|
||||
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/WWW-RobotRules-${pkgver}"
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/WWW-RobotRules-${pkgver}"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/WWW-RobotRules-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||
}
|
||||
Reference in New Issue
Block a user