[arch-commits] Commit in perl-yaml-syck/repos (4 files)
Felix Yan
fyan at archlinux.org
Wed May 11 04:40:43 UTC 2016
Date: Wednesday, May 11, 2016 @ 06:40:43
Author: fyan
Revision: 267742
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
perl-yaml-syck/repos/staging-i686/
perl-yaml-syck/repos/staging-i686/PKGBUILD
(from rev 267741, perl-yaml-syck/trunk/PKGBUILD)
perl-yaml-syck/repos/staging-x86_64/
perl-yaml-syck/repos/staging-x86_64/PKGBUILD
(from rev 267741, perl-yaml-syck/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: perl-yaml-syck/repos/staging-i686/PKGBUILD (from rev 267741, perl-yaml-syck/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-05-11 04:40:43 UTC (rev 267742)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-yaml-syck
+pkgver=1.29
+pkgrel=3
+pkgdesc="Fast, lightweight YAML loader and dumper"
+arch=('i686' 'x86_64')
+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/YAML-Syck-$pkgver.tar.gz)
+md5sums=('0f906ae8b3747039b26c29c481cda607')
+
+build() {
+ cd YAML-Syck-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd YAML-Syck-$pkgver
+ make test
+}
+
+package() {
+ cd YAML-Syck-$pkgver
+ make install DESTDIR="${pkgdir}"
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Copied: perl-yaml-syck/repos/staging-x86_64/PKGBUILD (from rev 267741, perl-yaml-syck/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-05-11 04:40:43 UTC (rev 267742)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-yaml-syck
+pkgver=1.29
+pkgrel=3
+pkgdesc="Fast, lightweight YAML loader and dumper"
+arch=('i686' 'x86_64')
+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/YAML-Syck-$pkgver.tar.gz)
+md5sums=('0f906ae8b3747039b26c29c481cda607')
+
+build() {
+ cd YAML-Syck-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd YAML-Syck-$pkgver
+ make test
+}
+
+package() {
+ cd YAML-Syck-$pkgver
+ make install DESTDIR="${pkgdir}"
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
More information about the arch-commits
mailing list