summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-01 12:42:59 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-01 12:42:59 -0500
commite08e084016fa058e4f15ad0b6e1b3433a79b32fd (patch)
tree4d267f4a51bc60e9ac606736541e6d5428382a1c /pcr
parentedeb81893de47e721fd49602284f97ea2b729ea1 (diff)
downloadabslibre-e08e084016fa058e4f15ad0b6e1b3433a79b32fd.tar.gz
abslibre-e08e084016fa058e4f15ad0b6e1b3433a79b32fd.tar.bz2
abslibre-e08e084016fa058e4f15ad0b6e1b3433a79b32fd.zip
perl-unix-syslog-1.1-4: rebuild
Diffstat (limited to 'pcr')
-rw-r--r--pcr/perl-unix-syslog/PKGBUILD37
1 files changed, 22 insertions, 15 deletions
diff --git a/pcr/perl-unix-syslog/PKGBUILD b/pcr/perl-unix-syslog/PKGBUILD
index 84bb3e008..abbbc03cd 100644
--- a/pcr/perl-unix-syslog/PKGBUILD
+++ b/pcr/perl-unix-syslog/PKGBUILD
@@ -1,35 +1,42 @@
-# Contributor (Arch): Justin Davis <jrcd83@gmail.com>
-# Generator (Arch): CPANPLUS::Dist::Arch 1.04
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
# Contributor : Márcio Silva <coadde@parabola.nu>
+# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname='perl-unix-syslog'
pkgver='1.1'
-pkgrel='2'
+pkgrel="4"
pkgdesc="Interface to syslog functions in a C-library"
arch=('any')
-license=('Artistic2.0')
+license=('PerlArtistic' 'GPL')
options=('!emptydirs')
-depends=('glibc>=2.12.1' 'perl')
+depends=('perl')
url='http://search.cpan.org/dist/Unix-Syslog'
-source=("http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-$pkgver.tar.gz")
+source=('http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-1.1.tar.gz')
md5sums=('73d78e309fe9508ffc9a54d84d79aac9')
+sha512sums=('cb1ea3846844b7c82e081f3bb778c698b681d1875b83201b1beef2267a288890c6fc62af8edbfbc04553a9caa1ebafa429130e784f31c9531719b11a4c47c3ba')
-package() {
+build() {
PERL=/usr/bin/perl
- DIST_DIR="${srcdir}/Unix-Syslog-1.1"
+ 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 &&
- make test &&
- make install;
- } || return 1;
+ 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
}