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
2018-03-06 00:32:24 +00:00
pkgver=2.63
pkgrel=2
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")
2018-03-06 00:32:24 +00:00
sha512sums=('ba9fdbf992049936ea288a90d8f8360821fc96f8d42df0298888b25543d2ac43e2958c5f7a8bbbae7cad1e2151ea00528756a3bc0cfbe408e5ee82bf309615f3')
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
}