PKGBUILDs/extra/perl-event/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
936 B
Bash

# $Id: PKGBUILD 52084 2009-09-15 21:54:29Z francois $
# 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.12
pkgrel=1
pkgdesc="Framework for GUI events"
arch=(i686 x86_64)
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')