summaryrefslogtreecommitdiff
path: root/extra/perl-yaml-syck/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-19 00:01:09 +0000
committerroot <root@rshg054.dnsready.net>2012-03-19 00:01:09 +0000
commitde5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (patch)
tree54a8758af5dc5a08f95d12f7fe04cec1d51024a6 /extra/perl-yaml-syck/PKGBUILD
parentd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (diff)
Mon Mar 19 00:01:09 UTC 2012
Diffstat (limited to 'extra/perl-yaml-syck/PKGBUILD')
-rw-r--r--extra/perl-yaml-syck/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/extra/perl-yaml-syck/PKGBUILD b/extra/perl-yaml-syck/PKGBUILD
index c2ab5a4f8..e1f29bada 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')
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"
}