summaryrefslogtreecommitdiff
path: root/extra/ggv
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
commit8c2359e2541f9d1b11443b49d8ea502b3ffea39c (patch)
tree035176ef2ab4dbaabda40150109c203887d83ed7 /extra/ggv
parent991d38faccf4e1fb27f31f236ad58ee840103734 (diff)
Wed Aug 3 23:14:34 UTC 2011
Diffstat (limited to 'extra/ggv')
-rw-r--r--extra/ggv/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/ggv/PKGBUILD b/extra/ggv/PKGBUILD
index 40401e1c7..76c346969 100644
--- a/extra/ggv/PKGBUILD
+++ b/extra/ggv/PKGBUILD
@@ -1,28 +1,31 @@
-# $Id: PKGBUILD 40229 2009-05-28 22:48:30Z jgc $
+# $Id: PKGBUILD 134236 2011-08-02 16:46:54Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=ggv
pkgver=2.12.0
-pkgrel=3
+pkgrel=4
pkgdesc="Postscript viewer"
arch=(i686 x86_64)
license=('GPL')
-depends=('libgnomeui>=2.14.1' 'ghostscript' 'desktop-file-utils')
-makedepends=('intltool' 'gnome-doc-utils' 'pkgconfig')
+depends=('libgnomeui' 'ghostscript' 'desktop-file-utils')
+makedepends=('intltool' 'gnome-doc-utils' 'pkgconfig' 'gnome-common')
url="http://www.gnome.org"
install=ggv.install
+options=('!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/ggv/2.12/ggv-${pkgver}.tar.bz2)
md5sums=('418f0ef3f8b82bb0c423a2a1cf6769f7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed '/AC_PATH_XTRA/d' -i configure.in
+ intltoolize --force
+ autoreconf --force --install
./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
+ --libexecdir=/usr/lib/ggv \
+ --localstatedir=/var
+ make
+ make GCONF_DISABLE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
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
+ gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas --domain ggv ${pkgdir}/etc/gconf/schemas/*.schemas
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
-
}