# Automatically generated by apkbuild-cpan, template 1 # Contributor: # Maintainer: Natanael Copa pkgname=perl-yaml-syck _pkgreal=YAML-Syck pkgver=1.22 pkgrel=0 pkgdesc="Fast, lightweight YAML loader and dumper" url="http://search.cpan.org/dist/YAML-Syck/" arch="all" license="mit" cpandepends="" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make && make test } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="361db9a4dcaf8fa279ca813e146ce7d7 YAML-Syck-1.22.tar.gz"