From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/gtranslator/PKGBUILD | 35 +++++++++++++++++++++++++++++ community/gtranslator/gtranslator.changelog | 18 +++++++++++++++ community/gtranslator/gtranslator.install | 17 ++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 community/gtranslator/PKGBUILD create mode 100644 community/gtranslator/gtranslator.changelog create mode 100644 community/gtranslator/gtranslator.install (limited to 'community/gtranslator') diff --git a/community/gtranslator/PKGBUILD b/community/gtranslator/PKGBUILD new file mode 100644 index 000000000..9781c97de --- /dev/null +++ b/community/gtranslator/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 36845 2011-01-09 07:08:21Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Hugo Doria +# Contributor: Christer Solskogen (solskogen@carebears.mine.nu) + +pkgname=gtranslator +pkgver=1.9.13 +pkgrel=1 +pkgdesc="An enhanced gettext po file editor for the GNOME" +arch=('i686' 'x86_64') +url="http://projects.gnome.org/gtranslator/" +license=('GPL') +depends=('gdl' 'gettext' 'gtksourceview2' 'gtkspell' 'libgda' 'libunique' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'dconf') +makedepends=('intltool' 'gnome-doc-utils' 'gnome-utils' 'gucharmap' 'json-glib') +optdepends=('gtkspell: spell check' + 'gucharmap: for charmap plugin' + 'json-glib: for open-tran plugin') +options=('!libtool') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/1.9/$pkgname-$pkgver.tar.bz2) +sha256sums=('c0b371b81630cf2e4efb6968c20f7580c62c34d9161c852a5d008622cd91408e') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community/gtranslator/gtranslator.changelog b/community/gtranslator/gtranslator.changelog new file mode 100644 index 000000000..772720fbf --- /dev/null +++ b/community/gtranslator/gtranslator.changelog @@ -0,0 +1,18 @@ +2011-01-09 Jaroslav Lichtblau (Dragonlord) + * gtranslator-1.9.13-1 + +2010-08-30 Jaroslav Lichtblau (Dragonlord) + * gtranslator-1.9.11-1 + +2010-02-23 Jaroslav Lichtblau (Dragonlord) + * gtranslator-1.9.7-1 + +2007-06-19 Eric Belanger (Snowman) + * gtranslator-1.1.7-3 + added x86_64 to arch field + added license + removed gnome.sh sourcing : no longer necessary + +2007-05-29 Alessio 'mOLOk' Bolognino + * gtranslator-1.1.7-3 + move from /opt/gnome to /usr diff --git a/community/gtranslator/gtranslator.install b/community/gtranslator/gtranslator.install new file mode 100644 index 000000000..ea0fb1346 --- /dev/null +++ b/community/gtranslator/gtranslator.install @@ -0,0 +1,17 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} -- cgit v1.2.3-54-g00ecf