Date: Sunday, May 27, 2012 @ 03:42:22 Author: bluewind Revision: 159844
db-move: moved gtk2-perl from [staging] to [testing] (i686) Added: gtk2-perl/repos/testing-i686/ gtk2-perl/repos/testing-i686/PKGBUILD (from rev 159819, gtk2-perl/repos/staging-i686/PKGBUILD) Deleted: gtk2-perl/repos/staging-i686/ ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: gtk2-perl/repos/testing-i686/PKGBUILD (from rev 159819, gtk2-perl/repos/staging-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-05-27 07:42:22 UTC (rev 159844) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Sarah Hay <sa...@archlinux.org> + +pkgname=gtk2-perl +pkgver=1.244 +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=('191fda807f44a7c82d699838bf544bca') + +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}" +}