summaryrefslogtreecommitdiffstats
path: root/extra/p5-cairo/Pkgfile
blob: 1624fae4b3dac3840f2d5774fd6eedd388dff202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Connecteur perl pour cairo
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: p5-glib, p5-extutils-pkgconfig, cairo, libpng

name=p5-cairo
version=1.061
release=1
source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Cairo-${version}.tar.gz)

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