summaryrefslogtreecommitdiff
path: root/extra/perl-yaml-syck/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-19 10:03:21 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-19 10:03:21 +0100
commit46602cb86218c37b896a2c90aa702d94793b6779 (patch)
tree107fedff7db7ea57c5bd9684f98805b2f1167029 /extra/perl-yaml-syck/PKGBUILD
parent7e6a790c47fb44426cdda8ea0aca8c247a524c5e (diff)
parentde5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/quesoglc/PKGBUILD community/trickle/PKGBUILD cross/cross-mips64el-unknown-linux-gnu-gcc-core-shared/PKGBUILD cross/cross-mips64el-unknown-linux-gnu-gcc-core/PKGBUILD cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD cross/mips64el-unknown-linux-gnu-glibc/PKGBUILD extra/ffmpeg/PKGBUILD extra/perl-dbi/PKGBUILD extra/perl-net-dns/PKGBUILD extra/xfce4-dev-tools/PKGBUILD gnome-unstable/networkmanager/PKGBUILD multilib-testing/lib32-libdrm/PKGBUILD multilib-testing/lib32-libdrm/no-pthread-stubs.patch multilib/lib32-libxcb/PKGBUILD multilib/lib32-util-linux/PKGBUILD multilib/wine/PKGBUILD multilib/wine_gecko/PKGBUILD
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 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"
}