summaryrefslogtreecommitdiffstats
path: root/extra/p5-yaml/Pkgfile
blob: 215cbd83477c81553cc4ee26f376f9ee01fde6f8 (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: perl

name=p5-yaml
version=0.68
release=1
source=(http://search.cpan.org/CPAN/authors/id/I/IN/INGY/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 ||:
}