1 # Contributor: Dongsheng Cai <dongsheng at moodle dot com>
5 pkgdesc="Image viewer and browser for the GNOME Desktop"
7 url="http://live.gnome.org/gthumb/"
10 depends=('gnome-doc-utils' 'libgnomeui' 'libxtst' 'intltool' 'gcc' 'coreutils' 'gnome-common')
16 if [ -d $_gitname ]; then
18 msg "Updating local files from git"
21 msg "Cloning Git repository"
22 git clone git://git.gnome.org/gthumb
24 cd ${srcdir}/${_gitname}
25 ./autogen.sh --prefix=/usr CFLAG="-ggdb" || return 1
27 make DESTDIR="$pkgdir" install || return 1
28 cd ${srcdir}/${_gitname}
29 install -D -m644 $srcdir/gthumb/data/icons/hicolor/48x48/apps/gthumb.png $pkgdir/usr/share/pixmaps/gthumb.png