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

Jan de Groot jgc at archlinux.org
Mon Nov 28 08:05:24 EST 2011


    Date: Monday, November 28, 2011 @ 08:05:23
  Author: jgc
Revision: 143696

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  gtk2-perl/repos/extra-i686/PKGBUILD
    (from rev 143695, gtk2-perl/trunk/PKGBUILD)
  gtk2-perl/repos/extra-x86_64/PKGBUILD
    (from rev 143695, gtk2-perl/trunk/PKGBUILD)
Deleted:
  gtk2-perl/repos/extra-i686/PKGBUILD
  gtk2-perl/repos/extra-x86_64/PKGBUILD

-----------------------+
 extra-i686/PKGBUILD   |   60 ++++++++++++++++++++++++++++--------------------
 extra-x86_64/PKGBUILD |   60 ++++++++++++++++++++++++++++--------------------
 2 files changed, 70 insertions(+), 50 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2011-11-28 13:04:58 UTC (rev 143695)
+++ extra-i686/PKGBUILD	2011-11-28 13:05:23 UTC (rev 143696)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Sarah Hay <sarah at archlinux.org>
-
-pkgname=gtk2-perl
-_realname=Gtk2
-pkgver=1.222
-pkgrel=3
-pkgdesc="Gtk2-Perl allows Perl developers to write GTK+ 2.x applications."
-arch=(i686 x86_64)
-license=('LGPL')
-url="http://gtk2-perl.sourceforge.net/"
-makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
-depends=('gtk2' 'pango-perl')
-options=('!emptydirs')
-source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
-md5sums=('8f8a170b33dc2cf4e69769e97c05185a')
-
-build() {
-  cd "${srcdir}/${_realname}-${pkgver}"
-  # install module in vendor directories.
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-  make
-  make install DESTDIR="${pkgdir}"
-}

Copied: gtk2-perl/repos/extra-i686/PKGBUILD (from rev 143695, gtk2-perl/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2011-11-28 13:05:23 UTC (rev 143696)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgname=gtk2-perl
+pkgver=1.241
+pkgrel=1
+pkgdesc="Perl bindings for GTK+ 2.x"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+depends=('gtk2' 'pango-perl')
+checkdepends=('ttf-dejavu' 'xorg-server-xvfb')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-${pkgver}.tar.gz)
+md5sums=('82ee2af46ef9ab7b560601e3ae6f8f7a')
+
+build() {
+  cd "${srcdir}/Gtk2-${pkgver}"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/Gtk2-${pkgver}"
+  LD_PRELOAD="" Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 &
+  LD_PRELOAD="" DISPLAY=:99 make test
+  kill $!
+}
+
+package() {
+  cd "${srcdir}/Gtk2-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2011-11-28 13:04:58 UTC (rev 143695)
+++ extra-x86_64/PKGBUILD	2011-11-28 13:05:23 UTC (rev 143696)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Sarah Hay <sarah at archlinux.org>
-
-pkgname=gtk2-perl
-_realname=Gtk2
-pkgver=1.222
-pkgrel=3
-pkgdesc="Gtk2-Perl allows Perl developers to write GTK+ 2.x applications."
-arch=(i686 x86_64)
-license=('LGPL')
-url="http://gtk2-perl.sourceforge.net/"
-makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
-depends=('gtk2' 'pango-perl')
-options=('!emptydirs')
-source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
-md5sums=('8f8a170b33dc2cf4e69769e97c05185a')
-
-build() {
-  cd "${srcdir}/${_realname}-${pkgver}"
-  # install module in vendor directories.
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-  make
-  make install DESTDIR="${pkgdir}"
-}

Copied: gtk2-perl/repos/extra-x86_64/PKGBUILD (from rev 143695, gtk2-perl/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-11-28 13:05:23 UTC (rev 143696)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgname=gtk2-perl
+pkgver=1.241
+pkgrel=1
+pkgdesc="Perl bindings for GTK+ 2.x"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+depends=('gtk2' 'pango-perl')
+checkdepends=('ttf-dejavu' 'xorg-server-xvfb')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gtk2-${pkgver}.tar.gz)
+md5sums=('82ee2af46ef9ab7b560601e3ae6f8f7a')
+
+build() {
+  cd "${srcdir}/Gtk2-${pkgver}"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/Gtk2-${pkgver}"
+  LD_PRELOAD="" Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 &
+  LD_PRELOAD="" DISPLAY=:99 make test
+  kill $!
+}
+
+package() {
+  cd "${srcdir}/Gtk2-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list