[arch-commits] Commit in perl-text-kakasi/repos (8 files)
Florian Pritz
bluewind at archlinux.org
Fri May 27 08:02:30 UTC 2016
Date: Friday, May 27, 2016 @ 10:02:29
Author: bluewind
Revision: 177236
db-move: moved perl-text-kakasi from [community-staging] to [community-testing] (i686, x86_64)
Added:
perl-text-kakasi/repos/community-testing-i686/
perl-text-kakasi/repos/community-testing-i686/ChangeLog
(from rev 177235, perl-text-kakasi/repos/community-staging-i686/ChangeLog)
perl-text-kakasi/repos/community-testing-i686/PKGBUILD
(from rev 177235, perl-text-kakasi/repos/community-staging-i686/PKGBUILD)
perl-text-kakasi/repos/community-testing-x86_64/
perl-text-kakasi/repos/community-testing-x86_64/ChangeLog
(from rev 177235, perl-text-kakasi/repos/community-staging-x86_64/ChangeLog)
perl-text-kakasi/repos/community-testing-x86_64/PKGBUILD
(from rev 177235, perl-text-kakasi/repos/community-staging-x86_64/PKGBUILD)
Deleted:
perl-text-kakasi/repos/community-staging-i686/
perl-text-kakasi/repos/community-staging-x86_64/
------------------------------------+
community-testing-i686/ChangeLog | 3 ++
community-testing-i686/PKGBUILD | 40 +++++++++++++++++++++++++++++++++++
community-testing-x86_64/ChangeLog | 3 ++
community-testing-x86_64/PKGBUILD | 40 +++++++++++++++++++++++++++++++++++
4 files changed, 86 insertions(+)
Copied: perl-text-kakasi/repos/community-testing-i686/ChangeLog (from rev 177235, perl-text-kakasi/repos/community-staging-i686/ChangeLog)
===================================================================
--- community-testing-i686/ChangeLog (rev 0)
+++ community-testing-i686/ChangeLog 2016-05-27 08:02:29 UTC (rev 177236)
@@ -0,0 +1,3 @@
+2008-10-27 Allan McRae <allan at archlinux.org>
+ * perl-text-kakasi 2.04-4
+ * fixed typo in depends
Copied: perl-text-kakasi/repos/community-testing-i686/PKGBUILD (from rev 177235, perl-text-kakasi/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-27 08:02:29 UTC (rev 177236)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Allan McRae <mcrae_allan at hotmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-text-kakasi
+pkgver=2.04
+pkgrel=13
+pkgdesc="Perl frontend to kakasi"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Text-Kakasi"
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'kakasi')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/D/DA/DANKOGAI/Text-Kakasi-${pkgver}.tar.gz")
+md5sums=('5a9e381cb93edfd707124a63c60f96b1')
+
+build() {
+ cd Text-Kakasi-${pkgver}
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd Text-Kakasi-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+# 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-text-kakasi/repos/community-testing-x86_64/ChangeLog (from rev 177235, perl-text-kakasi/repos/community-staging-x86_64/ChangeLog)
===================================================================
--- community-testing-x86_64/ChangeLog (rev 0)
+++ community-testing-x86_64/ChangeLog 2016-05-27 08:02:29 UTC (rev 177236)
@@ -0,0 +1,3 @@
+2008-10-27 Allan McRae <allan at archlinux.org>
+ * perl-text-kakasi 2.04-4
+ * fixed typo in depends
Copied: perl-text-kakasi/repos/community-testing-x86_64/PKGBUILD (from rev 177235, perl-text-kakasi/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-05-27 08:02:29 UTC (rev 177236)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Allan McRae <mcrae_allan at hotmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-text-kakasi
+pkgver=2.04
+pkgrel=13
+pkgdesc="Perl frontend to kakasi"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Text-Kakasi"
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'kakasi')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/D/DA/DANKOGAI/Text-Kakasi-${pkgver}.tar.gz")
+md5sums=('5a9e381cb93edfd707124a63c60f96b1')
+
+build() {
+ cd Text-Kakasi-${pkgver}
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd Text-Kakasi-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+# 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