# $Id: PKGBUILD 214238 2014-06-04 13:52:12Z bluewind $ # Maintainer: Felix Yan pkgname=perl-yaml-syck pkgver=1.27 pkgrel=2 pkgdesc="Fast, lightweight YAML loader and dumper" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/YAML-Syck/" license=('BSD' 'custom') depends=('perl') options=('!emptydirs') source=(http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-$pkgver.tar.gz) md5sums=('8920091e68a078cfa9c42041e5759162') build() { cd YAML-Syck-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } check() { cd YAML-Syck-$pkgver make test } package() { cd YAML-Syck-$pkgver make install DESTDIR="${pkgdir}" install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }