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/goldendict/PKGBUILD | 37 ++++++++++++++++++++++++++++++ community/goldendict/goldendict-paths.diff | 10 ++++++++ community/goldendict/goldendict.changelog | 8 +++++++ 3 files changed, 55 insertions(+) create mode 100644 community/goldendict/PKGBUILD create mode 100644 community/goldendict/goldendict-paths.diff create mode 100644 community/goldendict/goldendict.changelog (limited to 'community/goldendict') diff --git a/community/goldendict/PKGBUILD b/community/goldendict/PKGBUILD new file mode 100644 index 000000000..1bc3d9b84 --- /dev/null +++ b/community/goldendict/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 36565 2011-01-04 21:08:42Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau +# Contributor: m0rph + +pkgname=goldendict +pkgver=1.0.1 +pkgrel=2 +pkgdesc="Feature-rich dictionary lookup program" +arch=('i686' 'x86_64') +url="http://goldendict.berlios.de/" +license=('GPL3') +depends=('hunspell' 'libvorbis' 'libxtst' 'libzip' 'openssl' 'phonon') +makedepends=('patch') +changelog=$pkgname.changelog +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2 \ + $pkgname-paths.diff) +md5sums=('d56bb854936015104029d1f0b98b61bb' + '4488d4353e5522796c00785f0ce265e1') + +build(){ + cd ${srcdir} + + patch -Np0 -i ${srcdir}/$pkgname-paths.diff + + qmake + make + qmake +} + +package() { + cd ${srcdir} + + make INSTALL_ROOT=${pkgdir} install + +#removing unneeded + rm -rf ${pkgdir}/usr/share/app-install +} diff --git a/community/goldendict/goldendict-paths.diff b/community/goldendict/goldendict-paths.diff new file mode 100644 index 000000000..812dfdb97 --- /dev/null +++ b/community/goldendict/goldendict-paths.diff @@ -0,0 +1,10 @@ +--- goldendict.pro~ 2010-12-27 22:52:21.000000000 +0100 ++++ goldendict.pro 2010-12-27 22:52:21.000000000 +0100 +@@ -63,2 +63,2 @@ +- isEmpty( PREFIX ):PREFIX = /usr/local +- DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\" ++ isEmpty( PREFIX ):PREFIX = /usr ++ DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\" +@@ -66 +66 @@ +- locale.path = $$PREFIX/share/apps/goldendict/locale/ ++ locale.path = $$PREFIX/share/goldendict/locale/ diff --git a/community/goldendict/goldendict.changelog b/community/goldendict/goldendict.changelog new file mode 100644 index 000000000..8ec311fe1 --- /dev/null +++ b/community/goldendict/goldendict.changelog @@ -0,0 +1,8 @@ +2010-12-27 Jaroslav Lichtblau + * Update to major release 1.0.1 + +2010-02-16 Jaroslav Lichtblau + * FS#18350 fixed in 0.9.0-5 + +2009-06-21 Jaroslav Lichtblau + * Package moved to [community] in v0.9.0 -- cgit v1.2.3-54-g00ecf