diff options
Diffstat (limited to 'community/goldendict/PKGBUILD')
-rw-r--r-- | community/goldendict/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
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 <dragonlord@aur.archlinux.org> +# Contributor: m0rph <m0rph.mailbox@gmail.com> + +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 +} |