diff options
Diffstat (limited to 'extra/perl-yaml-syck')
-rw-r--r-- | extra/perl-yaml-syck/PKGBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/extra/perl-yaml-syck/PKGBUILD b/extra/perl-yaml-syck/PKGBUILD index e772c2bbb..c5637f9e0 100644 --- a/extra/perl-yaml-syck/PKGBUILD +++ b/extra/perl-yaml-syck/PKGBUILD @@ -1,37 +1,41 @@ -# $Id: PKGBUILD 125297 2011-05-25 19:24:39Z foutrelis $ +# $Id: PKGBUILD 153683 2012-03-17 20:26:21Z eric $ # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Maintainer: kevin <kevin@archlinux.org> pkgname=perl-yaml-syck _realname=YAML-Syck -pkgver=1.17 -pkgrel=2 +pkgver=1.20 +pkgrel=1 pkgdesc="Fast, lightweight YAML loader and dumper" arch=('i686' 'x86_64' 'mips64el') license=('custom') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/A/AV/AVAR/${_realname}-$pkgver.tar.gz) -md5sums=('f788529ad4b2c2fd037ccdfd5e7a88ab') +source=(http://www.cpan.org/authors/id/T/TO/TODDR/${_realname}-$pkgver.tar.gz) +md5sums=('8f6d04ee5817b8479e1234264a8d458d') build() { - cd ${srcdir}/${_realname}-$pkgver + cd "${srcdir}/${_realname}-$pkgver" # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-$pkgver" make test } package() { - cd ${srcdir}/${_realname}-$pkgver - make install DESTDIR=${pkgdir} + cd "${srcdir}/${_realname}-$pkgver" + make install DESTDIR="${pkgdir}" # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + find "${pkgdir}" -name perllocal.pod -delete + find "${pkgdir}" -name .packlist -delete # license. - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } |