[arch-commits] Commit in perl-module-build-tiny/repos (2 files)
Felix Yan
fyan at archlinux.org
Wed Jul 23 10:33:58 UTC 2014
Date: Wednesday, July 23, 2014 @ 12:33:58
Author: fyan
Revision: 116157
archrelease: copy trunk to community-any
Added:
perl-module-build-tiny/repos/community-any/
perl-module-build-tiny/repos/community-any/PKGBUILD
(from rev 116156, perl-module-build-tiny/trunk/PKGBUILD)
----------+
PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
Copied: perl-module-build-tiny/repos/community-any/PKGBUILD (from rev 116156, perl-module-build-tiny/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2014-07-23 10:33:58 UTC (rev 116157)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: xRemaLx <anton.komolov at 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:
More information about the arch-commits
mailing list