1 # Maintainer: Dmitry Korzhevin <dkorzhevin at gmail dot com>
3 pkgname=gtranslator-stable
6 pkgdesc="An enhanced gettext po file editor for the GNOME"
8 url="http://ftp.acc.umu.se/pub/GNOME/sources/gtranslator/2.90/"
10 depends=('gettext' 'libgnomeui' 'gtkspell' 'gdl' 'libglade' 'gtksourceview2' 'libgda')
11 makedepends=('intltool>=0.40' 'gnome-doc-utils')
12 install=$pkgname.install
14 source=(http://ftp.acc.umu.se/pub/GNOME/sources/gtranslator/2.90/gtranslator-$pkgver.tar.bz2)
15 md5sums=('84a01cbf4070f3f74bcd162c0c2f3d20')
18 cd ${srcdir}/${pkgname}-${pkgver}
20 ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install
22 make DESTDIR=${pkgdir} install
24 install -m755 -d ${pkgdir}/usr/share/gconf/schemas || return 1
25 gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas \
26 --domain ${pkgname} ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
27 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas || return 1