updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gtranslator-stable / PKGBUILD
blobd5322c85f75f7ce410bfca6ba5f43d646e538251
1 # Maintainer: Dmitry Korzhevin <dkorzhevin at gmail dot com>
3 pkgname=gtranslator-stable
4 pkgver=2.90.7
5 pkgrel=1
6 pkgdesc="An enhanced gettext po file editor for the GNOME"
7 arch=('i686' 'x86_64')
8 url="http://ftp.acc.umu.se/pub/GNOME/sources/gtranslator/2.90/"
9 license=('GPL')
10 depends=('gettext' 'libgnomeui' 'gtkspell' 'gdl' 'libglade' 'gtksourceview2' 'libgda')
11 makedepends=('intltool>=0.40' 'gnome-doc-utils')
12 install=$pkgname.install
13 options=('!libtool')
14 source=(http://ftp.acc.umu.se/pub/GNOME/sources/gtranslator/2.90/gtranslator-$pkgver.tar.bz2)
15 md5sums=('84a01cbf4070f3f74bcd162c0c2f3d20')
17 build() {
18   cd ${srcdir}/${pkgname}-${pkgver}
20   ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install
21   make || return 1
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