diff options
Diffstat (limited to 'testing/gconf-perl/PKGBUILD')
-rw-r--r-- | testing/gconf-perl/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/gconf-perl/PKGBUILD b/testing/gconf-perl/PKGBUILD new file mode 100644 index 000000000..e4f58af63 --- /dev/null +++ b/testing/gconf-perl/PKGBUILD @@ -0,0 +1,32 @@ +# $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=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>=5.14') +options=(!emptydirs) +source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz) +md5sums=('ea386003b18f067524833b0eeb271330') + +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 +} |