diff options
Diffstat (limited to 'abs/core/perl_modules/perl-module-build/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-module-build/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-module-build/PKGBUILD b/abs/core/perl_modules/perl-module-build/PKGBUILD new file mode 100644 index 0000000..96712a7 --- /dev/null +++ b/abs/core/perl_modules/perl-module-build/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 166452 2012-09-08 01:51:46Z eric $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor : Alan Young <harleypig@gmail.com> + +pkgname=perl-module-build +pkgver=0.4003 +pkgrel=1 +pkgdesc="Build, test, and install Perl modules" +arch=('any') +license=('PerlArtistic' 'GPL') +url='http://search.cpan.org/dist/Module-Build' +depends=('perl>=5.6.1') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-$pkgver.tar.gz) +md5sums=('ed5fe7e023af43b0722639b13ece8d2d') + +build() { + cd Module-Build-$pkgver + perl Build.PL installdirs=vendor + perl Build +} + +check() { + cd Module-Build-$pkgver + perl Build test +} + +package() { + cd Module-Build-$pkgver + perl Build install destdir="$pkgdir" +} |