summaryrefslogtreecommitdiffstats
path: root/extra/p5-gtk2-ex-utils/Pkgfile
blob: f89aba89b108a3779483314610a7547cfc85516f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Module perl pour GTK
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtk

name=p5-gtk2-ex-utils
version=0.09
release=1
source=(http://www.cpan.org/modules/by-module/Gtk2/Gtk2-Ex-Utils-$version.tar.gz)

build() {
	cd Gtk2-Ex-Utils-$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 ||:
}