[arch-commits] Commit in perl-log-message-simple/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 09:31:31 UTC 2019
Date: Saturday, May 25, 2019 @ 09:31:31
Author: foutrelis
Revision: 470171
archrelease: copy trunk to community-staging-any
Added:
perl-log-message-simple/repos/community-staging-any/
perl-log-message-simple/repos/community-staging-any/PKGBUILD
(from rev 470170, perl-log-message-simple/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: perl-log-message-simple/repos/community-staging-any/PKGBUILD (from rev 470170, perl-log-message-simple/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:31:31 UTC (rev 470171)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-log-message-simple
+pkgver=0.10
+pkgrel=5
+pkgdesc='Simplified interface to Log::Message'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl perl-log-message)
+url=https://metacpan.org/release/Log-Message-Simple
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Log-Message-Simple-$pkgver.tar.gz")
+md5sums=(0a0f9df6bc1148cc2aae4cb2882c0664)
+sha512sums=(7915f19dabae801da08e230d846faa6da8f82dd8ac90ed9aedbab9022c45ef0464c1fb511d5ac074c7a77d59eab2a8b549da686cc79ed9a8c40a8eb9d12fb418)
+_ddir="Log-Message-Simple-$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