updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / evince2-light / PKGBUILD
blobc766b18b6434ab37a7f7a1fc3ccf34e6ff6dc474
1 # Maintainer: megadriver <megadriver at gmx dot com>
2 # This is basically the old evince-gtk PKGBUILD by pizzapunk
3 # This one DOES conflict with evince from [extra], on purpose :)
5 pkgname=evince2-light
6 pkgver=2.32.0
7 pkgrel=2
8 pkgdesc="Simply a document viewer (GTK2 version, GNOME free!)"
9 arch=('i686' 'x86_64')
10 url="http://projects.gnome.org/evince/"
11 license=('GPL')
12 depends=('gtk2' 'poppler-glib' 'libspectre' 'djvulibre' 't1lib' 'gsfonts' 'hicolor-icon-theme' 'desktop-file-utils')
13 makedepends=('intltool')
14 provides=('evince')
15 conflicts=('evince')
16 options=('!libtool')
17 install=evince2-light.install
18 source=(http://ftp.gnome.org/pub/gnome/sources/evince/2.32/evince-$pkgver.tar.bz2)
19 md5sums=('ebc3ce6df8dcbf29cb9492f8dd031319')
21 build() {
22   cd "$srcdir"/evince-$pkgver
24   # Don't depend on gnome-icon-theme
25   sed -i '/gnome-icon-theme/d' configure
27   ./configure --prefix=/usr \
28               --libexecdir=/usr/lib/evince \
29               --disable-static \
30               --disable-schemas-compile \
31               --disable-tests \
32               --disable-nautilus \
33               --disable-scrollkeeper \
34               --disable-help \
35               --enable-t1lib \
36               --enable-pixbuf \
37               --enable-impress \
38               --without-keyring \
39               --without-gconf
40   make
43 package() {
44   cd "$srcdir"/evince-$pkgver
46   make DESTDIR="$pkgdir" install
48   rm -rf $pkgdir/usr/share/GConf