updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / perl-yaml-libyaml / PKGBUILD
blob04d196c4fcb8594fce7f25786f1e22a2484b0733
1 # CPAN Name  : YAML-LibYAML
2 # Contributor: Justin Davis <jrcd83@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 1.12
4 pkgname='perl-yaml-libyaml'
5 pkgver='0.35'
6 pkgrel='1'
7 pkgdesc="Perl YAML Serialization using XS and libyaml"
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 url='http://search.cpan.org/dist/YAML-LibYAML'
13 source=('http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-LibYAML-0.35.tar.gz')
14 md5sums=('9e047b14578aefd467d13aa612e6765b')
16 build() {
17   DIST_DIR="${srcdir}/YAML-LibYAML-0.35"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&
21     perl Makefile.PL INSTALLDIRS=vendor &&
22     make &&
23     make test &&
24     make DESTDIR="$pkgdir" install;
27   } || return 1;
29   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete