summaryrefslogtreecommitdiff
path: root/extra/perl-yaml-syck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/perl-yaml-syck/PKGBUILD')
-rw-r--r--extra/perl-yaml-syck/PKGBUILD28
1 files changed, 11 insertions, 17 deletions
diff --git a/extra/perl-yaml-syck/PKGBUILD b/extra/perl-yaml-syck/PKGBUILD
index 14940a564..fe8f71b77 100644
--- a/extra/perl-yaml-syck/PKGBUILD
+++ b/extra/perl-yaml-syck/PKGBUILD
@@ -1,37 +1,31 @@
-# $Id: PKGBUILD 186421 2013-05-26 09:25:51Z bluewind $
-# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
-# Maintainer: kevin <kevin@archlinux.org>
+# $Id: PKGBUILD 187097 2013-06-03 18:17:55Z eric $
+# Maintainer:
pkgname=perl-yaml-syck
-_realname=YAML-Syck
-pkgver=1.25
-pkgrel=2
+pkgver=1.27
+pkgrel=1
pkgdesc="Fast, lightweight YAML loader and dumper"
arch=('i686' 'x86_64' 'mips64el')
-license=('custom')
-url="http://search.cpan.org/dist/${_realname}/"
+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/${_realname}-$pkgver.tar.gz)
-md5sums=('847f315cbd074b42c44f360383ac13e9')
+source=(http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-$pkgver.tar.gz)
+md5sums=('8920091e68a078cfa9c42041e5759162')
build() {
- cd "${srcdir}/${_realname}-$pkgver"
-
- # install module in vendor directories.
+ cd YAML-Syck-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_realname}-$pkgver"
+ cd YAML-Syck-$pkgver
make test
}
package() {
- cd "${srcdir}/${_realname}-$pkgver"
+ cd YAML-Syck-$pkgver
make install DESTDIR="${pkgdir}"
-
- # license.
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}