summaryrefslogtreecommitdiff
path: root/extra/gconf-perl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /extra/gconf-perl/PKGBUILD
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'extra/gconf-perl/PKGBUILD')
-rw-r--r--extra/gconf-perl/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/extra/gconf-perl/PKGBUILD b/extra/gconf-perl/PKGBUILD
index c95f1eba2..e4f58af63 100644
--- a/extra/gconf-perl/PKGBUILD
+++ b/extra/gconf-perl/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 104906 2011-01-05 14:35:54Z jgc $
+# $Id: PKGBUILD 124841 2011-05-24 18:04:05Z remy $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gconf-perl
_realname=Gnome2-GConf
pkgver=1.044
-pkgrel=4
+pkgrel=5
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')
+depends=('glib-perl' 'gconf' 'perl>=5.14')
options=(!emptydirs)
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('ea386003b18f067524833b0eeb271330')
@@ -19,5 +19,14 @@ build() {
cd "${srcdir}/${_realname}-${pkgver}"
perl Makefile.PL INSTALLDIRS=vendor
make
+}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ dbus-launch --exit-with-session make test
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}