blob: 5d9dd94743f80b58332fdbf722a1034d9eff74c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 'mips64el')
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
}
|