PKGBUILDs/community/perl-object-event/PKGBUILD
2009-10-09 21:15:33 -05:00

19 lines
622 B
Bash

pkgname=perl-object-event
pkgver=1.0
pkgrel=1
pkgdesc="Perl/CPAN Module Object::Event"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Object-Event/"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/E/EL/ELMEX/Object-Event-$pkgver.tar.gz")
depends=(perl)
build() {
cd $startdir/src/Object-Event-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('ae711615059a76a8bc00dd5947b4cac9')