[arch-commits] Commit in perl-log-message/repos (community-any community-any/PKGBUILD)

Florian Pritz bluewind at nymeria.archlinux.org
Tue Jun 3 09:31:36 UTC 2014


    Date: Tuesday, June 3, 2014 @ 11:31:35
  Author: bluewind
Revision: 112521

archrelease: copy trunk to community-any

Added:
  perl-log-message/repos/community-any/
  perl-log-message/repos/community-any/PKGBUILD
    (from rev 112520, perl-log-message/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: perl-log-message/repos/community-any/PKGBUILD (from rev 112520, perl-log-message/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-06-03 09:31:35 UTC (rev 112521)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-log-message
+pkgver=0.08
+pkgrel=1
+pkgdesc='Powerful and flexible message logging mechanism'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+url=https://metacpan.org/release/Log-Message
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Log-Message-$pkgver.tar.gz")
+md5sums=(406fe7d1e37980afa105b663c436c4af)
+sha512sums=(7dffaa66bae132a958b08948369761b1871af4fb0f719f1b39f9978131034444ab02db62cb5ca3ee89607640070e410b020e23ebfd4d3d8d9ca8b01ffed2ced8)
+_ddir="Log-Message-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  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