diff options
Diffstat (limited to 'community-testing/goldendict/PKGBUILD')
-rw-r--r-- | community-testing/goldendict/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community-testing/goldendict/PKGBUILD b/community-testing/goldendict/PKGBUILD new file mode 100644 index 000000000..7b64f04e8 --- /dev/null +++ b/community-testing/goldendict/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 57227 2011-10-24 20:32:42Z andrea $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: m0rph <m0rph.mailbox@gmail.com> + +pkgname=goldendict +pkgver=1.0.1 +pkgrel=5 +pkgdesc="Feature-rich dictionary lookup program" +arch=('i686' 'x86_64') +url="http://goldendict.berlios.de/" +license=('GPL3') +depends=('hunspell' 'libvorbis' 'libxtst' 'libzip' 'qtwebkit' 'phonon') +provides=('stardict') +changelog=$pkgname.changelog +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2 \ + $pkgname-paths.diff) +sha256sums=('b3fb0405a5edb38f02ef881b48c36e46e2eacf641b0caf8d99403f595a4be9a6' + '1dacae7b7a7d7c20a22b4595c07dbd65fdad134a0d4cf283312ea3bdb5f42589') + +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 +} |