diff options
author | root <root@rshg047.dnsready.net> | 2011-06-01 22:46:45 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-01 22:46:45 +0000 |
commit | e7b9c9697e6a50c3b9e78941fa95ba11c716d238 (patch) | |
tree | 4df601d78b5a2009ebeea5f01afe1f6e2beb8ca4 /testing/perl-event | |
parent | 311d0420d77867bdb1066d38743e68e596a17ce5 (diff) |
Wed Jun 1 22:46:45 UTC 2011
Diffstat (limited to 'testing/perl-event')
-rw-r--r-- | testing/perl-event/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-event/PKGBUILD b/testing/perl-event/PKGBUILD new file mode 100644 index 000000000..3e20ec4c2 --- /dev/null +++ b/testing/perl-event/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 125258 2011-05-25 19:17:24Z foutrelis $ +# 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 +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) +source=(http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/${_srcname}-${pkgver}.tar.gz) +md5sums=('c58cdf7c56cd5f10a58b234d2c81295f') + +build() { + cd "${srcdir}/${_srcname}-${pkgver}" + + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor + make + make test +} + +package() { + cd "${srcdir}/${_srcname}-${pkgver}" + + make install DESTDIR="${pkgdir}" + + # remove perllocal.pod and .packlist + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete +} |