[arch-commits] Commit in perl-extutils-makemaker/repos (extra-any extra-any/PKGBUILD)
Andreas Radke
andyrtr at nymeria.archlinux.org
Sat Jan 4 13:23:48 UTC 2014
Date: Saturday, January 4, 2014 @ 14:23:48
Author: andyrtr
Revision: 203161
archrelease: copy trunk to extra-any
Added:
perl-extutils-makemaker/repos/extra-any/
perl-extutils-makemaker/repos/extra-any/PKGBUILD
(from rev 203160, perl-extutils-makemaker/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-extutils-makemaker/repos/extra-any/PKGBUILD (from rev 203160, perl-extutils-makemaker/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2014-01-04 13:23:48 UTC (rev 203161)
@@ -0,0 +1,44 @@
+# $Id$
+
+# Contributor: Swift Geek <swiftgeek «at» gmail.com>
+pkgname=perl-extutils-makemaker
+pkgver=6.84
+pkgrel=1
+pkgdesc="ExtUtils::MakeMaker - Create a module Makefile"
+arch=('any')
+url="http://search.cpan.org/~bingos/ExtUtils-MakeMaker/"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+provides=(perl-extutils-makemaker=${pkgver})
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-${pkgver}.tar.gz")
+md5sums=('c0ab3435d3a85a4eaa55265b09aa5799')
+
+prepare() {
+ export _src_dir="$srcdir/ExtUtils-MakeMaker-$pkgver"
+ # Setting these env variables overwrites any command-line-options we don't want...
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+}
+
+build() {
+ cd "$_src_dir"
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check () {
+ cd "$_src_dir"
+ make test
+}
+
+package () {
+ cd "$_src_dir"
+ make install
+
+ # remove perllocal.pod and .packlist
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
More information about the arch-commits
mailing list