diff options
author | root <root@rshg054.dnsready.net> | 2011-10-08 23:14:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-08 23:14:35 +0000 |
commit | 40e90a19618851856689ef8697391d37ec6841a1 (patch) | |
tree | 7da3732dc1ee59e1b8c7aca11aee032f01eaa639 /extra/perl-event/PKGBUILD | |
parent | 8a8ac56bbf82685c43072923560881e6b119ec66 (diff) |
Sat Oct 8 23:14:35 UTC 2011
Diffstat (limited to 'extra/perl-event/PKGBUILD')
-rw-r--r-- | extra/perl-event/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/perl-event/PKGBUILD b/extra/perl-event/PKGBUILD index 3e20ec4c2..47d2ee055 100644 --- a/extra/perl-event/PKGBUILD +++ b/extra/perl-event/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 125258 2011-05-25 19:17:24Z foutrelis $ +# $Id: PKGBUILD 140115 2011-10-07 08:31:40Z eric $ # Maintainer: tobias <tobias@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> # Contributor: François Charette <francois.archlinux.org> pkgname=perl-event _srcname=Event -pkgver=1.17 +pkgver=1.20 pkgrel=1 pkgdesc="Framework for GUI events" arch=('i686' 'x86_64') license=('PerlArtistic' 'GPL') url="http://search.cpan.org/dist/${_srcname}/" depends=('perl') -options=(!emptydirs) +options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/${_srcname}-${pkgver}.tar.gz) -md5sums=('c58cdf7c56cd5f10a58b234d2c81295f') +md5sums=('bdbdf6c1b235c3e13c25f3b0491c5134') build() { cd "${srcdir}/${_srcname}-${pkgver}" @@ -22,6 +22,10 @@ build() { # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_srcname}-${pkgver}" make test } @@ -31,6 +35,6 @@ package() { make install DESTDIR="${pkgdir}" # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + find "${pkgdir}" -name perllocal.pod -delete + find "${pkgdir}" -name .packlist -delete } |