summaryrefslogtreecommitdiffstats
path: root/extra/p5-gtk2/Pkgfile
blob: 199d01e6f18ee37e540307a61d715cc528334ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Description: Connecteur perl pour gtk
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: p5-cairo,gtk
# Run on: p5-cairo,gtk

name=p5-gtk2
version=1.202
release=1
source=(http://www.cpan.org/modules/by-module/Gtk2/Gtk2-${version}.tar.gz)

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