summaryrefslogtreecommitdiff
path: root/community-staging/goldendict/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-04 22:48:12 +0000
committerroot <root@rshg047.dnsready.net>2011-06-04 22:48:12 +0000
commit80ba845c7cb571644d9dea61b9872c393d128c37 (patch)
tree064ee49a661ab3bdfaef029661561fd60bd1354c /community-staging/goldendict/PKGBUILD
parent805d577f46f94e747f712b7c942f595cd8f7e170 (diff)
Sat Jun 4 22:48:12 UTC 2011
Diffstat (limited to 'community-staging/goldendict/PKGBUILD')
-rw-r--r--community-staging/goldendict/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community-staging/goldendict/PKGBUILD b/community-staging/goldendict/PKGBUILD
new file mode 100644
index 000000000..237e20083
--- /dev/null
+++ b/community-staging/goldendict/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 48628 2011-06-03 15:58:27Z stephane $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: m0rph <m0rph.mailbox@gmail.com>
+
+pkgname=goldendict
+pkgver=1.0.1
+pkgrel=3
+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
+}