PKGBUILDs/aur/perl-config-general/PKGBUILD

31 lines
842 B
Bash
Raw Normal View History

2015-09-16 02:33:15 +00:00
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Jason St. John <jstjohn .. purdue . edu>
2013-06-04 12:52:32 +00:00
_perlmod=Config-General
_modnamespace=Config
2012-05-16 03:45:57 +00:00
pkgname=perl-config-general
2015-09-16 02:33:15 +00:00
pkgver=2.58
pkgrel=1
2012-05-16 03:45:57 +00:00
pkgdesc="Config::General - Generic Config Module"
2013-06-04 12:52:32 +00:00
arch=('any')
2014-01-12 18:45:46 +00:00
url="http://search.cpan.org/dist/${_perlmod}"
2012-09-17 23:40:54 +00:00
license=('GPL' 'PerlArtistic')
2012-05-16 03:45:57 +00:00
options=('!emptydirs')
2014-01-12 18:45:46 +00:00
source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz")
2015-09-16 02:33:15 +00:00
sha512sums=('7a2720ca4ceb7b1cbb4556e08b1cdd16a5a721609afa7ec474803355d29aa292ad09af1ba097a57e6560413486236ac94c615268d22c0fe2923c92e7e0ddf4b7')
2012-05-16 03:45:57 +00:00
build() {
2015-09-16 02:33:15 +00:00
cd "${_perlmod}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
2012-05-16 03:45:57 +00:00
}
check() {
2015-09-16 02:33:15 +00:00
cd "${_perlmod}-${pkgver}"
make test
2012-05-16 03:45:57 +00:00
}
package() {
2015-09-16 02:33:15 +00:00
cd "${_perlmod}-${pkgver}"
make install DESTDIR="${pkgdir}"
2012-05-16 03:45:57 +00:00
}