2021-03-16 11:10:29 +01:00
|
|
|
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
2014-06-23 16:08:30 +02:00
|
|
|
_author=LMC
|
|
|
|
_perlmod=RPSL-Parser
|
2010-12-22 12:22:10 +01:00
|
|
|
pkgname=perl-rpsl-parser
|
|
|
|
pkgver=0.04000
|
2022-04-21 14:21:09 +02:00
|
|
|
pkgrel=2
|
2010-12-22 12:22:10 +01:00
|
|
|
pkgdesc="Router Policy Specification Language (RFC2622) Parser"
|
|
|
|
arch=(any)
|
2021-03-16 11:10:29 +01:00
|
|
|
url="https://metacpan.org/release/$_perlmod"
|
2010-12-22 12:22:10 +01:00
|
|
|
license=('GPL' 'PerlArtistic')
|
|
|
|
depends=('perl>=5.10.0', 'perl-class-accessor>=0.31')
|
2022-04-21 14:21:09 +02:00
|
|
|
makedepends=('perl-module-build')
|
2010-12-22 12:22:10 +01:00
|
|
|
options=(!emptydirs)
|
2021-03-16 11:10:29 +01:00
|
|
|
source=(https://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
|
|
|
sha256sums=('239cea155a166985892347b37968316f46f36114d050a0be8d71436fd08e90f1')
|
2010-12-22 12:22:10 +01:00
|
|
|
|
|
|
|
build() {
|
2014-06-23 16:08:30 +02:00
|
|
|
cd "$srcdir/$_perlmod-$pkgver"
|
2010-12-22 12:22:10 +01:00
|
|
|
|
|
|
|
perl Build.PL installdirs=vendor destdir="$pkgdir/"
|
|
|
|
perl Build
|
2014-06-23 16:08:30 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_perlmod-$pkgver"
|
2010-12-22 12:22:10 +01:00
|
|
|
perl Build install
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|