[arch-commits] Commit in perl-log-message/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 09:02:26 UTC 2019
Date: Saturday, May 25, 2019 @ 09:02:25
Author: felixonmars
Revision: 469971
archrelease: copy trunk to community-staging-any
Added:
perl-log-message/repos/community-staging-any/
perl-log-message/repos/community-staging-any/PKGBUILD
(from rev 469970, perl-log-message/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: perl-log-message/repos/community-staging-any/PKGBUILD (from rev 469970, perl-log-message/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:02:25 UTC (rev 469971)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-log-message
+pkgver=0.08
+pkgrel=5
+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