aur/perl-config-general to 2.51-1

This commit is contained in:
Kevin Mihelich 2012-09-17 23:40:54 +00:00
parent d462572661
commit ab16415904

View file

@ -1,30 +1,22 @@
# Maintainer: Jason St. John <jstjohn .. purdue . edu> # Maintainer: Jason St. John <jstjohn .. purdue . edu>
plugrel=1
pkgname=perl-config-general pkgname=perl-config-general
_pkgname=Config-General _pkgname=Config-General
pkgver=2.50 pkgver=2.51
pkgrel=2 pkgrel=1
pkgdesc="Config::General - Generic Config Module" pkgdesc="Config::General - Generic Config Module"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL') license=('GPL' 'PerlArtistic')
options=('!emptydirs') options=('!emptydirs')
depends=('perl') depends=('perl>=5.10.0')
url="http://search.cpan.org/dist/$_pkgname" url="http://search.cpan.org/dist/$_pkgname"
source=(http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/$_pkgname-$pkgver.tar.gz) source=("http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/$_pkgname-$pkgver.tar.gz")
sha512sums=('d4c9beaf7b951e8dfe8198e95acf43a6e90e8a07f9fe8cb0c2fe14b6de6b6140c98b48ff3019454fe57340812684ab66490b1b12a99a349a1f51b27ea26ba46e') sha512sums=('71a0d607ab69b82aa6ff3eb74efe7d90b67859331ae3fe2d6d14829e71eedacdeb98506e38c6506b4b7400ed31cd20de09b5b8ef86fe6a23599677aa8e5f5982')
build() { build() {
PERL=/usr/bin/perl
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/${_pkgname}-${pkgver}" cd "$srcdir/${_pkgname}-${pkgver}"
$PERL Makefile.PL
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
@ -35,7 +27,7 @@ check() {
package() { package() {
cd "$srcdir/${_pkgname}-${pkgver}" cd "$srcdir/${_pkgname}-${pkgver}"
make DESTDIR="$pkgdir/" install make install DESTDIR="$pkgdir/"
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et: