# $Id: PKGBUILD 214191 2014-06-04 13:50:48Z bluewind $ # Maintainer: Jan de Groot pkgname=gconf-perl pkgver=1.044 pkgrel=9 pkgdesc="Gnome2-GConf perl bindings for gconf" arch=('i686' 'x86_64') license=('LGPL') url="http://gtk2-perl.sourceforge.net/" makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends') checkdepends=('libx11') depends=('glib-perl' 'gconf' 'perl') options=(!emptydirs) source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gnome2-GConf-${pkgver}.tar.gz disable-orbit.patch) md5sums=('ea386003b18f067524833b0eeb271330' '14852fc936ce7b552eb204913d55fd1c') prepare() { cd Gnome2-GConf-$pkgver patch -Np1 -i ../disable-orbit.patch } build() { cd Gnome2-GConf-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } check() { cd Gnome2-GConf-$pkgver dbus-launch --exit-with-session make test } package() { cd Gnome2-GConf-$pkgver make DESTDIR="${pkgdir}" install }