[arch-commits] Commit in pango-perl/repos (6 files)

Florian Pritz bluewind at archlinux.org
Fri May 27 08:00:13 UTC 2016


    Date: Friday, May 27, 2016 @ 10:00:12
  Author: bluewind
Revision: 268652

db-move: moved pango-perl from [staging] to [testing] (i686, x86_64)

Added:
  pango-perl/repos/testing-i686/
  pango-perl/repos/testing-i686/PKGBUILD
    (from rev 268651, pango-perl/repos/staging-i686/PKGBUILD)
  pango-perl/repos/testing-x86_64/
  pango-perl/repos/testing-x86_64/PKGBUILD
    (from rev 268651, pango-perl/repos/staging-x86_64/PKGBUILD)
Deleted:
  pango-perl/repos/staging-i686/
  pango-perl/repos/staging-x86_64/

-------------------------+
 testing-i686/PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: pango-perl/repos/testing-i686/PKGBUILD (from rev 268651, pango-perl/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-05-27 08:00:12 UTC (rev 268652)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango-perl
+pkgver=1.227
+pkgrel=2
+pkgdesc="Perl bindings for Pango"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+checkdepends=('gtk2-perl' 'xorg-server-xvfb')
+depends=('pango' 'glib-perl' 'cairo-perl')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Pango-${pkgver}.tar.gz)
+md5sums=('cc5d7ca7780adcc5cee7cc41f2fc0440')
+
+build() {
+  cd Pango-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Pango-$pkgver
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd Pango-$pkgver
+  make install DESTDIR="${pkgdir}"
+# 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: pango-perl/repos/testing-x86_64/PKGBUILD (from rev 268651, pango-perl/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-05-27 08:00:12 UTC (rev 268652)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango-perl
+pkgver=1.227
+pkgrel=2
+pkgdesc="Perl bindings for Pango"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+checkdepends=('gtk2-perl' 'xorg-server-xvfb')
+depends=('pango' 'glib-perl' 'cairo-perl')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Pango-${pkgver}.tar.gz)
+md5sums=('cc5d7ca7780adcc5cee7cc41f2fc0440')
+
+build() {
+  cd Pango-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Pango-$pkgver
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd Pango-$pkgver
+  make install DESTDIR="${pkgdir}"
+# 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