update RPSL::Parser PKGBUILD to up to date standards
This commit is contained in:
parent
ab88c52279
commit
6959f00096
1 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
# Contributor: Cedric Girard <girard.cedric@gmail.com>
|
# Contributor: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
_author=LMC
|
||||||
|
_perlmod=RPSL-Parser
|
||||||
pkgname=perl-rpsl-parser
|
pkgname=perl-rpsl-parser
|
||||||
pkgver=0.04000
|
pkgver=0.04000
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
@ -8,14 +10,18 @@ url="http://search.cpan.org/~lmc/RPSL-Parser/"
|
||||||
license=('GPL' 'PerlArtistic')
|
license=('GPL' 'PerlArtistic')
|
||||||
depends=('perl>=5.10.0', 'perl-class-accessor>=0.31')
|
depends=('perl>=5.10.0', 'perl-class-accessor>=0.31')
|
||||||
options=(!emptydirs)
|
options=(!emptydirs)
|
||||||
source=(http://search.cpan.org/CPAN/authors/id/L/LM/LMC/RPSL-Parser-$pkgver.tar.gz)
|
source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
||||||
md5sums=(f4344b0258b7d55dd5e0923a1fcda33d)
|
md5sums=(f4344b0258b7d55dd5e0923a1fcda33d)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/RPSL-Parser-$pkgver"
|
cd "$srcdir/$_perlmod-$pkgver"
|
||||||
|
|
||||||
perl Build.PL installdirs=vendor destdir="$pkgdir/"
|
perl Build.PL installdirs=vendor destdir="$pkgdir/"
|
||||||
perl Build
|
perl Build
|
||||||
|
|
||||||
|
}
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_perlmod-$pkgver"
|
||||||
perl Build install
|
perl Build install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue