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

name=p5-xml-writer
version=0.606
release=1
source=(http://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz)

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