# $Id: PKGBUILD 40230 2009-05-28 22:51:55Z jgc $ # Maintainer: Jan de Groot pkgname=ggv pkgver=2.12.0 pkgrel=3 pkgdesc="Postscript viewer" arch=(i686 x86_64) license=('GPL') depends=('libgnomeui>=2.14.1' 'ghostscript' 'desktop-file-utils') makedepends=('intltool' 'gnome-doc-utils' 'pkgconfig') url="http://www.gnome.org" install=ggv.install source=(http://ftp.gnome.org/pub/gnome/sources/ggv/2.12/ggv-${pkgver}.tar.bz2) md5sums=('418f0ef3f8b82bb0c423a2a1cf6769f7') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/ggv \ --localstatedir=/var || return 1 make || return 1 make GCONF_DISABLE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/usr/share/gconf/schemas" gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas --domain ggv ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas }