[arch-commits] Commit in perl-config-simple/repos/testing-any (PKGBUILD PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Sat Jan 12 10:23:37 UTC 2013
Date: Saturday, January 12, 2013 @ 05:23:37
Author: bluewind
Revision: 175052
archrelease: copy trunk to testing-any
Added:
perl-config-simple/repos/testing-any/PKGBUILD
(from rev 175051, perl-config-simple/trunk/PKGBUILD)
Deleted:
perl-config-simple/repos/testing-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 39 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-01-12 10:23:18 UTC (rev 175051)
+++ PKGBUILD 2013-01-12 10:23:37 UTC (rev 175052)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
-# http://github.com/fukawi2/aur-packages
-# Contributor: Thomas Boerger <devel at ghcif.de>
-
-pkgname=perl-config-simple
-pkgver=4.59
-pkgrel=3
-pkgdesc="Simple configuration file class to create and read config files"
-url="http://search.cpan.org/~sherzodr/Config-Simple"
-depends=('perl')
-arch=('any')
-license="GPL"
-options=('!emptydirs')
-source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/Config-Simple-$pkgver.tar.gz")
-md5sums=('96513b61c7db591339ce2577878a3b32')
-
-build() {
- cd $srcdir/Config-Simple-$pkgver
-
- eval `perl -V:archname`
-
- /usr/bin/perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/${archname}
- make
- }
-
-package() {
- cd $srcdir/Config-Simple-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: perl-config-simple/repos/testing-any/PKGBUILD (from rev 175051, perl-config-simple/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-01-12 10:23:37 UTC (rev 175052)
@@ -0,0 +1,39 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-config-simple
+pkgver=4.59
+pkgrel=4
+pkgdesc="Simple configuration file class to create and read config files"
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl')
+url="http://search.cpan.org/~sherzodr/Config-Simple"
+source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/Config-Simple-${pkgver}.tar.gz")
+md5sums=('96513b61c7db591339ce2577878a3b32')
+_distdir="${srcdir}/Config-Simple-${pkgver}"
+
+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 "$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd "$_distdir"
+ make test
+}
+
+package() {
+ cd "$_distdir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
More information about the arch-commits
mailing list