Date: Tuesday, June 2, 2015 @ 19:52:18
  Author: spupykin
Revision: 134603

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  perl-text-charwidth/repos/community-staging-i686/
  perl-text-charwidth/repos/community-staging-i686/PKGBUILD
    (from rev 134602, perl-text-charwidth/trunk/PKGBUILD)
  perl-text-charwidth/repos/community-staging-x86_64/
  perl-text-charwidth/repos/community-staging-x86_64/PKGBUILD
    (from rev 134602, perl-text-charwidth/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: perl-text-charwidth/repos/community-staging-i686/PKGBUILD (from rev 
134602, perl-text-charwidth/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-06-02 17:52:18 UTC (rev 134603)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: Charles Mauch <[email protected]>
+
+pkgname=perl-text-charwidth
+pkgver=0.04
+pkgrel=11
+pkgdesc="Perl/CPAN Module Text::CharWidth"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/Text-CharWidth";
+license=("GPL" "PerlArtistic")
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz";)
+md5sums=('37a723df0580c0758c0ee67b37336c15')
+
+build() {
+  cd Text-CharWidth-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd Text-CharWidth-${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-charwidth/repos/community-staging-x86_64/PKGBUILD (from rev 
134602, perl-text-charwidth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-06-02 17:52:18 UTC (rev 134603)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: Charles Mauch <[email protected]>
+
+pkgname=perl-text-charwidth
+pkgver=0.04
+pkgrel=11
+pkgdesc="Perl/CPAN Module Text::CharWidth"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/Text-CharWidth";
+license=("GPL" "PerlArtistic")
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz";)
+md5sums=('37a723df0580c0758c0ee67b37336c15')
+
+build() {
+  cd Text-CharWidth-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd Text-CharWidth-${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;
+}

Reply via email to