1 # $Id: PKGBUILD 81066 2010-05-26 10:55:37Z jgc $
2 # Maintainer: Jean Levasseur <levasseur.jean@gmail.com>
3 # Contributor: Jan de Groot <jgc@archlinux.org>
4 # Contributor: Kritoke <kritoke@nospam.gmail.com>
10 pkgdesc="A personal photo management program for GNOME"
12 url="http://www.gnome.org/projects/${_realpkgname}/"
13 arch=('i686' 'x86_64')
15 depends=('mono>=2.6.4' 'gnome-sharp>=2.24.1' 'lcms>=1.18-3' 'libgphoto2>=2.4.9' 'ndesk-dbus-glib>=0.4.1' 'hicolor-icon-theme' 'mono-addins>=0.4'
16 'gnome-keyring-sharp' 'libflickrnet')
17 makedepends=('intltool' 'gnome-doc-utils>=0.20.0' 'gnome-screensaver>=2.30.0')
18 conflicts=('f-spot' 'f-spot-git')
19 options=('!libtool' '!makeflags' '!emptydirs' '!strip')
20 install=${pkgname}.install
21 source=("http://ftp.gnome.org/pub/gnome/sources/${_realpkgname}/0.7/${_realpkgname}-${pkgver}.tar.bz2")
22 sha256sums=('07b61459c8c00f9ad83e3ec353995502cd08d6539f1b292edde7ef30929515e6')
25 export MONO_SHARED_DIR="${srcdir}/.wabi"
26 mkdir -p "${MONO_SHARED_DIR}"
28 cd "${srcdir}/${_realpkgname}-${pkgver}"
29 ./configure --prefix=/usr --sysconfdir=/etc \
30 --localstatedir=/var --disable-static \
31 --disable-scrollkeeper || return 1
33 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
35 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
36 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain f-spot ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
37 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas