[arch-commits] Commit in perl-io-tty/repos (4 files)

Sergej Pupykin spupykin at archlinux.org
Tue May 10 18:18:19 UTC 2016


    Date: Tuesday, May 10, 2016 @ 20:18:19
  Author: spupykin
Revision: 174627

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

Added:
  perl-io-tty/repos/community-staging-i686/
  perl-io-tty/repos/community-staging-i686/PKGBUILD
    (from rev 174626, perl-io-tty/trunk/PKGBUILD)
  perl-io-tty/repos/community-staging-x86_64/
  perl-io-tty/repos/community-staging-x86_64/PKGBUILD
    (from rev 174626, perl-io-tty/trunk/PKGBUILD)

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

Copied: perl-io-tty/repos/community-staging-i686/PKGBUILD (from rev 174626, perl-io-tty/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-10 18:18:19 UTC (rev 174627)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-io-tty
+pkgver=1.12
+pkgrel=3
+pkgdesc="Provide an interface to TTYs and PTYs"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/IO-Tty/"
+license=("GPL" "PerlArtistic")
+depends=('glibc')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IO-Tty-$pkgver.tar.gz")
+md5sums=('11695a1a516b3bd1b90ce75ff0ce3e6d')
+
+build() {
+  cd $srcdir/IO-Tty-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+package() {
+  cd $srcdir/IO-Tty-$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-io-tty/repos/community-staging-x86_64/PKGBUILD (from rev 174626, perl-io-tty/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-10 18:18:19 UTC (rev 174627)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-io-tty
+pkgver=1.12
+pkgrel=3
+pkgdesc="Provide an interface to TTYs and PTYs"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/IO-Tty/"
+license=("GPL" "PerlArtistic")
+depends=('glibc')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IO-Tty-$pkgver.tar.gz")
+md5sums=('11695a1a516b3bd1b90ce75ff0ce3e6d')
+
+build() {
+  cd $srcdir/IO-Tty-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+package() {
+  cd $srcdir/IO-Tty-$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