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

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


    Date: Friday, May 27, 2016 @ 10:01:08
  Author: bluewind
Revision: 177208

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

Added:
  perl-gtk2-imageview/repos/community-testing-i686/
  perl-gtk2-imageview/repos/community-testing-i686/PKGBUILD
    (from rev 177207, perl-gtk2-imageview/repos/community-staging-i686/PKGBUILD)
  perl-gtk2-imageview/repos/community-testing-x86_64/
  perl-gtk2-imageview/repos/community-testing-x86_64/PKGBUILD
    (from rev 177207, perl-gtk2-imageview/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  perl-gtk2-imageview/repos/community-staging-i686/
  perl-gtk2-imageview/repos/community-staging-x86_64/

-----------------------------------+
 community-testing-i686/PKGBUILD   |   41 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: perl-gtk2-imageview/repos/community-testing-i686/PKGBUILD (from rev 177207, perl-gtk2-imageview/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-05-27 08:01:08 UTC (rev 177208)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: TDY <tdy at archlinux.info>
+# Contributor: Olaf Leidinger <leidola at newcon.de>
+
+pkgname=perl-gtk2-imageview
+pkgver=0.05
+pkgrel=7
+pkgdesc="Perl bindings to the GtkImageView image viewer widget"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Gtk2-ImageView/"
+license=('LGPL3')
+depends=('cairo-perl' 'glib-perl' 'gtk2-perl' 'gtkimageview')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+checkdepends=('perl-test-pod' 'xorg-server-xvfb')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/Gtk2-ImageView-$pkgver.tar.gz")
+md5sums=('7c961071b347b6a64b8351fdd87ec4c0')
+
+build() {
+  cd "$srcdir/Gtk2-ImageView-$pkgver"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Gtk2-ImageView-$pkgver"
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd "$srcdir/Gtk2-ImageView-$pkgver"
+  make DESTDIR="$pkgdir" install
+# 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-gtk2-imageview/repos/community-testing-x86_64/PKGBUILD (from rev 177207, perl-gtk2-imageview/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-05-27 08:01:08 UTC (rev 177208)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: TDY <tdy at archlinux.info>
+# Contributor: Olaf Leidinger <leidola at newcon.de>
+
+pkgname=perl-gtk2-imageview
+pkgver=0.05
+pkgrel=7
+pkgdesc="Perl bindings to the GtkImageView image viewer widget"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Gtk2-ImageView/"
+license=('LGPL3')
+depends=('cairo-perl' 'glib-perl' 'gtk2-perl' 'gtkimageview')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+checkdepends=('perl-test-pod' 'xorg-server-xvfb')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/Gtk2-ImageView-$pkgver.tar.gz")
+md5sums=('7c961071b347b6a64b8351fdd87ec4c0')
+
+build() {
+  cd "$srcdir/Gtk2-ImageView-$pkgver"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Gtk2-ImageView-$pkgver"
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd "$srcdir/Gtk2-ImageView-$pkgver"
+  make DESTDIR="$pkgdir" install
+# 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