Date: Wednesday, July 23, 2014 @ 16:16:20 Author: fyan Revision: 116170
addpkg: perl-gtk2-imageview 0.05-4 Added: perl-gtk2-imageview/ perl-gtk2-imageview/repos/ perl-gtk2-imageview/trunk/ perl-gtk2-imageview/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: perl-gtk2-imageview/trunk/PKGBUILD =================================================================== --- perl-gtk2-imageview/trunk/PKGBUILD (rev 0) +++ perl-gtk2-imageview/trunk/PKGBUILD 2014-07-23 14:16:20 UTC (rev 116170) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: TDY <t...@archlinux.info> +# Contributor: Olaf Leidinger <leid...@newcon.de> + +pkgname=perl-gtk2-imageview +pkgver=0.05 +pkgrel=4 +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 +} Property changes on: perl-gtk2-imageview/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property