diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-03-24 17:39:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-03-24 17:39:40 (GMT) |
commit | 3045bc810ec080626d5d3fe9e565bf635163c51b (patch) | |
tree | 3bd29a57daa6737d571bf2da5451e34e33762582 /abs/core | |
parent | 2010f48cbd7a1017a1736c33567e25730f29a5f8 (diff) | |
download | linhes_pkgbuild-3045bc810ec080626d5d3fe9e565bf635163c51b.zip linhes_pkgbuild-3045bc810ec080626d5d3fe9e565bf635163c51b.tar.gz linhes_pkgbuild-3045bc810ec080626d5d3fe9e565bf635163c51b.tar.bz2 |
perl-appconfig: initial addition. dep of perl-template-toolkit
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-appconfig/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-appconfig/PKGBUILD b/abs/core/perl_modules/perl-appconfig/PKGBUILD new file mode 100644 index 0000000..41f9422 --- /dev/null +++ b/abs/core/perl_modules/perl-appconfig/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: eric <eric@archlinux.org> +# Contributor: Eric Johnson <eric@coding-zone.com> + +pkgname=perl-appconfig +_realname=AppConfig +pkgver=1.71 +pkgrel=1 +pkgdesc="Perl/CPAN AppConfig module - Read configuration files and parse command line arguments" +arch=('any') +license=('PerlArtistic' 'GPL') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/N/NE/NEILB/${_realname}-${pkgver}.tar.gz") +md5sums=('7747d9241561ed5567d5e134b8648707') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" +} |