summaryrefslogtreecommitdiffstats
path: root/p5-yaml/Pkgfile
blob: d53f0072fe7e42a8370dcffa5fc8f863557c4222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Implémentation Perl de YAML 
# URL: http://search.cpan.org/dist/YAML/
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: 

name=p5-yaml
version=0.72
release=1
source=(http://www.cpan.org/authors/id/A/AD/ADAMK//YAML-$version.tar.gz)

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