# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-unix-syslog _realname=Unix-Syslog pkgver=1.1 pkgrel=16 pkgdesc="Perl interface to the UNIX syslog(3) calls" url="http://search.cpan.org/~mharnisch/Unix-Syslog/" arch="all" license="Artistic-2.0" depends="perl" makedepends="perl-dev" install= subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/M/MH/MHARNISCH/$_realname-$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$builddir" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } sha512sums="cb1ea3846844b7c82e081f3bb778c698b681d1875b83201b1beef2267a288890c6fc62af8edbfbc04553a9caa1ebafa429130e784f31c9531719b11a4c47c3ba Unix-Syslog-1.1.tar.gz"