1 # Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
2 # Contributor: florianbw <florian(dot)bw(at)gmail(dot)com>
3 # Contributor: Frederic Bezies <fredbezies(at)gmail(dot)com>
4 # Contributor: Robert Chmielowiec <robert(at)chmielowiec(dot)net>
5 # Contributor: Daniel <quite(at)hack(dot)org>
6 # Contributor: mariusz <my.swiat@o2.pl>
12 pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
13 arch=('i686' 'x86_64')
14 url="http://yorba.org/shotwell/"
16 depends=('desktop-file-utils' 'gconf' 'gnome-vfs' 'json-glib' 'libgee' 'libgexiv2-git' 'libgphoto2' 'libquicktime' 'librsvg' 'libunique3' 'libwebkit3' 'dconf')
17 makedepends=('git' 'intltool' 'libraw' 'pkgconfig' 'vala>=0.11.7')
19 conflicts=('shotwell')
20 install=${_pkgname}.install
22 _gitroot=git://yorba.org/${_pkgname}
27 msg "Connecting to GIT server...."
28 if [ -d ${_gitname} ] ; then
29 cd ${_gitname} && git pull origin
30 msg "The local files are updated."
32 git clone ${_gitroot} ${_gitname}
34 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
37 rm -rf ${srcdir}/${_gitname}-build
38 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
39 cd ${srcdir}/${_gitname}-build
41 ./configure --prefix=/usr \
42 --disable-schemas-compile \
43 --disable-desktop-update \
49 cd ${srcdir}/${_gitname}-build
50 make DESTDIR=${pkgdir} install