mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
added aur/perl-config-general
This commit is contained in:
parent
7484f4e34a
commit
ce262c2c44
1 changed files with 41 additions and 0 deletions
41
aur/perl-config-general/PKGBUILD
Normal file
41
aur/perl-config-general/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Jason St. John <jstjohn .. purdue . edu>
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=perl-config-general
|
||||
_pkgname=Config-General
|
||||
pkgver=2.50
|
||||
pkgrel=2
|
||||
pkgdesc="Config::General - Generic Config Module"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('PerlArtistic' 'GPL')
|
||||
options=('!emptydirs')
|
||||
depends=('perl')
|
||||
url="http://search.cpan.org/dist/$_pkgname"
|
||||
source=(http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/$_pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('d4c9beaf7b951e8dfe8198e95acf43a6e90e8a07f9fe8cb0c2fe14b6de6b6140c98b48ff3019454fe57340812684ab66490b1b12a99a349a1f51b27ea26ba46e')
|
||||
|
||||
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}"
|
||||
$PERL Makefile.PL
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/${_pkgname}-${pkgver}"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/${_pkgname}-${pkgver}"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue