# Maintainer: tobias # Contributor: Tobias Kieslich # Contributor: François Charette pkgname=perl-event _srcname=Event pkgver=1.12 pkgrel=1 pkgdesc="Framework for GUI events" arch=('arm') license=('PerlArtistic' 'GPL') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/${_srcname}-${pkgver}.tar.gz) build() { cd ${startdir}/src/${_srcname}-${pkgver} # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${startdir}/pkg || return 1 # remove perllocal.pod and .packlist find ${startdir}/pkg -name perllocal.pod -delete find ${startdir}/pkg -name .packlist -delete } md5sums=('f09285ef0388be739fbb83bc3a221977')