summaryrefslogtreecommitdiffstats
path: root/base/p5-event/Pkgfile
blob: c4089e644b76a9868b187e472ab7f799e5759df4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Connecteur perl pour Event
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=p5-event
version=1.11
release=1
source=(http://www.cpan.org/modules/by-module/Event/Event-$version.tar.gz)

build() {
	cd Event-$version
	perl Makefile.PL
	make
	make DESTDIR=$PKG install
	find $PKG \
		-name perllocal.pod \
		-o -name .packlist | xargs rm
	find $PKG -empty | xargs rmdir -p ||:
}