diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-03-01 20:44:17 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-03-01 20:44:17 +0100 |
commit | 194af840fa8a77f1e763b2089a3014aa2d56fb1d (patch) | |
tree | a18e74c2daaf7c1b3530b6acfd81f59dc6eb1404 /perl-unix-syslog/PKGBUILD | |
parent | 669802590369b3f606079f0c5192752bd97f0497 (diff) | |
download | aur-packages-194af840fa8a77f1e763b2089a3014aa2d56fb1d.tar.gz aur-packages-194af840fa8a77f1e763b2089a3014aa2d56fb1d.tar.xz |
update
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'perl-unix-syslog/PKGBUILD')
-rw-r--r-- | perl-unix-syslog/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/perl-unix-syslog/PKGBUILD b/perl-unix-syslog/PKGBUILD new file mode 100644 index 0000000..b6be3de --- /dev/null +++ b/perl-unix-syslog/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Piotr Beling <qwak@w8.pl> +# Contributor: Wael Nasreddine <wael@phoenixlinux.org> +# Maintainer: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka) + +pkgname='perl-unix-syslog' +pkgver='0.100' +pkgrel='2' +pkgdesc='Perl interface to the UNIX syslog calls.' +url='http://search.cpan.org/~mharnisch/Unix-Syslog-0.100/' +arch=('i686' 'x86_64') +depends=('perl>=5.8.4') +source=("http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-${pkgver}.tar.gz") +md5sums=('655d2e04a043b3e92d1bb47caf8e8a3b') +install="${pkgname}.install" + +build() +{ + + cd ${startdir}/src/Unix-Syslog-${pkgver} + + eval $(perl -V:archname) + + perl Makefile.PL INSTALLARCHLIB=/usr/lib/perl5/current/${archname} INSTALLSITELIB=/usr/lib/perl5/site_perl/current INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} + + make || return 1 + + make DESTDIR=${startdir}/pkg install || return 1 + + find ${startdir}/pkg -name '.packlist' -exec rm -f {} \; + find ${startdir}/pkg -name 'perllocal.pod' -exec rm -f {} \; + +} |