[arch-commits] Commit in perl-yaml-syck/repos (3 files)
Florian Pritz
bluewind at archlinux.org
Sun May 27 07:44:08 UTC 2012
Date: Sunday, May 27, 2012 @ 03:44:07
Author: bluewind
Revision: 159926
db-move: moved perl-yaml-syck from [staging] to [testing] (i686)
Added:
perl-yaml-syck/repos/testing-i686/
perl-yaml-syck/repos/testing-i686/PKGBUILD
(from rev 159819, perl-yaml-syck/repos/staging-i686/PKGBUILD)
Deleted:
perl-yaml-syck/repos/staging-i686/
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: perl-yaml-syck/repos/testing-i686/PKGBUILD (from rev 159819, perl-yaml-syck/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-05-27 07:44:07 UTC (rev 159926)
@@ -0,0 +1,37 @@
+# $Id$
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Maintainer: kevin <kevin at archlinux.org>
+
+pkgname=perl-yaml-syck
+_realname=YAML-Syck
+pkgver=1.20
+pkgrel=2
+pkgdesc="Fast, lightweight YAML loader and dumper"
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/T/TO/TODDR/${_realname}-$pkgver.tar.gz)
+md5sums=('8f6d04ee5817b8479e1234264a8d458d')
+
+build() {
+ 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}"
+
+ # license.
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
More information about the arch-commits
mailing list