summaryrefslogtreecommitdiffstats
path: root/extra/evince/Pkgfile
blob: 06104dfbe45e1fae01a5db1b5593fada484f28dd (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
29
30
31
32
33
34
# Description: Permet de visionner des documents aux différents formats (PS,PDF,...)
# URL: http://projects.gnome.org/evince/
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: atk, cairo, cups, dbus-glib, djvulibre, expat, fontconfig, freetype, gconf, glib, glibc, glitz, gnome-icon-theme, gnome-doc-utils, gnome-keyring, gsfonts, gtk, libpng, orbit2, pango, xorg-libpixman, poppler-glib, shared-mime-info, zlib

name=evince
version=2.28.1
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2\
	evince.desktop evince.desktop.ede)

build() {
cd $name-$version
	./configure --prefix=$GNOME_PREFIX \
	--sysconfdir=/etc \
	--localstatedir=/var/lib \
	--mandir=$GNOME_PREFIX/share/man \
	--enable-pixbuf \
	--enable-impress \
	--enable-djvu \
	--disable-schemas-install \
	--disable-scrollkeeper

	make
	make DESTDIR=$PKG install
	
	rm -rf $PKG/$(pkg-config --variable=prefix ORBit-2.0)/share/gtk-doc
	install -D -m 644 ../evince.desktop \
	$PKG/$(pkg-config --variable=prefix ORBit-2.0)/share/applications/evince.desktop
	install -D -m 644 ../evince.desktop.ede \
	$PKG/usr/share/ede/programs/Utilities/evince.desktop
}