[arch-commits] Commit in perl-unix-syslog/repos (community-any community-any/PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu Jun 2 18:55:35 UTC 2016
Date: Thursday, June 2, 2016 @ 20:55:35
Author: spupykin
Revision: 177756
archrelease: copy trunk to community-any
Added:
perl-unix-syslog/repos/community-any/
perl-unix-syslog/repos/community-any/PKGBUILD
(from rev 177755, perl-unix-syslog/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: perl-unix-syslog/repos/community-any/PKGBUILD (from rev 177755, perl-unix-syslog/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-06-02 18:55:35 UTC (rev 177756)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+pkgname='perl-unix-syslog'
+pkgver='1.1'
+pkgrel="5"
+pkgdesc="Interface to syslog functions in a C-library"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/Unix-Syslog'
+source=('http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-1.1.tar.gz')
+md5sums=('73d78e309fe9508ffc9a54d84d79aac9')
+
+build() {
+ PERL=/usr/bin/perl
+ cd "${srcdir}/Unix-Syslog-1.1"
+ 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 "$DIST_DIR"
+ $PERL Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/Unix-Syslog-1.1"
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+}
+
+package() {
+ cd "${srcdir}/Unix-Syslog-1.1"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list