[arch-commits] Commit in perl-curses/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Sep 6 18:26:44 UTC 2015
Date: Sunday, September 6, 2015 @ 20:26:44
Author: foutrelis
Revision: 139302
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
perl-curses/repos/community-staging-i686/
perl-curses/repos/community-staging-i686/PKGBUILD
(from rev 139301, perl-curses/trunk/PKGBUILD)
perl-curses/repos/community-staging-x86_64/
perl-curses/repos/community-staging-x86_64/PKGBUILD
(from rev 139301, perl-curses/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: perl-curses/repos/community-staging-i686/PKGBUILD (from rev 139301, perl-curses/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-06 18:26:44 UTC (rev 139302)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-curses
+pkgver=1.32
+pkgrel=3
+pkgdesc="Character screen handling and windowing"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Curses"
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'ncurses')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-$pkgver.tgz)
+md5sums=('e4d9066bfc5a69cb2cee3e1dfc3209b3')
+
+build() {
+ cd $srcdir/Curses-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd $srcdir/Curses-$pkgver
+ make pure_install doc_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-curses/repos/community-staging-x86_64/PKGBUILD (from rev 139301, perl-curses/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-06 18:26:44 UTC (rev 139302)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-curses
+pkgver=1.32
+pkgrel=3
+pkgdesc="Character screen handling and windowing"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Curses"
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'ncurses')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-$pkgver.tgz)
+md5sums=('e4d9066bfc5a69cb2cee3e1dfc3209b3')
+
+build() {
+ cd $srcdir/Curses-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd $srcdir/Curses-$pkgver
+ make pure_install doc_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