# $Id: PKGBUILD 44543 2009-07-02 17:25:34Z jgc $ # Maintainer: Jan de Groot # Contributor: Tobias Kieslich pkgname=gthumb pkgver=2.10.11 pkgrel=2 pkgdesc="Image browser and viewer for the GNOME Desktop" arch=(i686 x86_64) license=('GPL') url="http://gthumb.sourceforge.net/" depends=('libgphoto2>=2.4.6-2' 'libgnomeui>=2.24.1' 'libxtst' 'libxxf86vm' 'desktop-file-utils') makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0') options=('!libtool' '!emptydirs') install=gthumb.install source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.10/${pkgname}-${pkgver}.tar.bz2) md5sums=('498c583800a05593f7493e8f27991c7d') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --disable-scrollkeeper || return 1 make || return 1 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/gconf/schemas" gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gthumb ${pkgdir}/etc/gconf/schemas/*.schemas rm -f ${pkgdir}/etc/gconf/schemas/*.schemas }