Add 'perl-rpsl-parser/' from commit 'a0f5a23153a3df8511cd2a970e0f3f44c27a8d1e'

git-subtree-dir: perl-rpsl-parser
git-subtree-mainline: f52a71450f
git-subtree-split: a0f5a23153
This commit is contained in:
Cedric Girard 2019-02-14 15:35:00 +01:00
commit 07f7a54e01
2 changed files with 44 additions and 0 deletions

16
perl-rpsl-parser/.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = perl-rpsl-parser
pkgdesc = Router Policy Specification Language (RFC2622) Parser
pkgver = 0.04000
pkgrel = 1
url = http://search.cpan.org/~lmc/RPSL-Parser/
arch = any
license = GPL
license = PerlArtistic
depends = perl>=5.10.0,
depends = perl-class-accessor>=0.31
options = !emptydirs
source = http://cpan.perl.org/modules/by-authors/id/L/LM/LMC/RPSL-Parser-0.04000.tar.gz
md5sums = f4344b0258b7d55dd5e0923a1fcda33d
pkgname = perl-rpsl-parser

28
perl-rpsl-parser/PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# Contributor: Cedric Girard <girard.cedric@gmail.com>
_author=LMC
_perlmod=RPSL-Parser
pkgname=perl-rpsl-parser
pkgver=0.04000
pkgrel=1
pkgdesc="Router Policy Specification Language (RFC2622) Parser"
arch=(any)
url="http://search.cpan.org/~lmc/RPSL-Parser/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0', 'perl-class-accessor>=0.31')
options=(!emptydirs)
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
md5sums=(f4344b0258b7d55dd5e0923a1fcda33d)
build() {
cd "$srcdir/$_perlmod-$pkgver"
perl Build.PL installdirs=vendor destdir="$pkgdir/"
perl Build
}
package() {
cd "$srcdir/$_perlmod-$pkgver"
perl Build install
}
# vim:set ts=2 sw=2 et: