Date: Wednesday, July 23, 2014 @ 12:33:34 Author: fyan Revision: 116156
addpkg: perl-module-build-tiny 0.036-2 Added: perl-module-build-tiny/ perl-module-build-tiny/repos/ perl-module-build-tiny/trunk/ perl-module-build-tiny/trunk/PKGBUILD ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) Added: perl-module-build-tiny/trunk/PKGBUILD =================================================================== --- perl-module-build-tiny/trunk/PKGBUILD (rev 0) +++ perl-module-build-tiny/trunk/PKGBUILD 2014-07-23 10:33:34 UTC (rev 116156) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: xRemaLx <anton.komo...@gmail.com> + +pkgname=perl-module-build-tiny +_pkgname=Module-Build-Tiny +pkgver=0.036 +pkgrel=2 +pkgdesc="A tiny replacement for Module::Build" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl' 'perl-extutils-config' 'perl-extutils-helpers' 'perl-extutils-installpaths') +makedepends=('perl-test-harness') +url="http://search.cpan.org/dist/Module-Build-Tiny" +source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_pkgname}-${pkgver}.tar.gz") +sha512sums=('7f0d01354eaa08611b6b207ef362fbebd941838c1191c652c014f3ac2fe0eee32c64f8eb6711ca557f4f021f6fab8f64e155adf7bf183952021e6af3da1533dc') + +build() { + ( 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}" + /usr/bin/perl Build.PL + ./Build + ) +} + +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + ./Build test + ) +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ( export PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" + ./Build install + ) + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: Property changes on: perl-module-build-tiny/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property