summaryrefslogtreecommitdiffstats
path: root/extra/p5-glib/Pkgfile
blob: 50d6d0c79f8b4f081b6ca2db7647691ba6a91d28 (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
# Description: Connecteur pour glib
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: p5-extutils-depends, gobject-introspection, p5-extutils-pkgconfig
# Run on:

name=p5-glib
version=1.221
release=1
source=(http://www.cpan.org/modules/by-module/Glib/Glib-$version.tar.gz)

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

}