diff options
Diffstat (limited to 'extra/ggv/PKGBUILD')
-rw-r--r-- | extra/ggv/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/ggv/PKGBUILD b/extra/ggv/PKGBUILD new file mode 100644 index 000000000..40401e1c7 --- /dev/null +++ b/extra/ggv/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 40229 2009-05-28 22:48:30Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +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 + +} |