summaryrefslogtreecommitdiff
path: root/extra/gconf-perl/PKGBUILD
blob: 6a6c961755520259762b9c79bebd0b5a7125f01b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 143700 2011-11-28 13:20:17Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gconf-perl
pkgver=1.044
pkgrel=6
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')
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')

build() {
  cd "${srcdir}/Gnome2-GConf-${pkgver}"
  patch -Np1 -i "${srcdir}/disable-orbit.patch"
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "${srcdir}/Gnome2-GConf-${pkgver}"
  dbus-launch --exit-with-session make test
}

package() {
  cd "${srcdir}/Gnome2-GConf-${pkgver}"
  make DESTDIR="${pkgdir}" install
}