updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / eog2 / PKGBUILD
blob5eacd847f9cbf84e8dafdaa09068bc94f7bbb9de
1 # Maintainer: Radioactiveman <thomas-lange2@gmx.de>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 _pkgname=eog
5 pkgname=eog2
6 pkgver=2.32.1
7 pkgrel=1
8 pkgdesc="Eye of Gnome: An image viewing and cataloging program"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 depends=('gnome-desktop2' 'libexif>=0.6.19' 'lcms>=1.19' 'desktop-file-utils' 'gnome-icon-theme>=2.31.0' 'exempi>=2.1.1' 'python2>=2.7')
12 makedepends=('pkg-config' 'gnome-doc-utils>=0.20.1' 'intltool' 'pygtk')
13 conflicts=('eog')
14 install=eog.install
15 options=('!emptydirs' '!libtool')
16 url="http://projects.gnome.org/eog/"
17 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/2.32/${_pkgname}-${pkgver}.tar.bz2)
18 sha256sums=('543672fb8e8e300bf2cf4c7eef43b5b1624e2e48e6aa0801a083ae7beb2d7078')
20 build() {
21     cd "${srcdir}/${_pkgname}-${pkgver}"
22     PYTHON=python2 ./configure --prefix=/usr \
23         --sysconfdir=/etc \
24         --localstatedir=/var \
25         --disable-scrollkeeper \
26         --enable-python
27     make
30 package() {
31     cd "${srcdir}/${_pkgname}-${pkgver}"
32     make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
34     install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
35     gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" --domain eog ${pkgdir}/etc/gconf/schemas/*.schemas
36     rm -f ${pkgdir}/etc/gconf/schemas/*.schemas