summaryrefslogtreecommitdiff
path: root/community/qstardict
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
committerroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
commit98aa0004e23472ee63753fded33cd55d8b942f36 (patch)
tree1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /community/qstardict
parent5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff)
Sat Mar 2 00:04:03 PST 2013
Diffstat (limited to 'community/qstardict')
-rw-r--r--community/qstardict/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/qstardict/PKGBUILD b/community/qstardict/PKGBUILD
index 02378dbb3..c395cd17a 100644
--- a/community/qstardict/PKGBUILD
+++ b/community/qstardict/PKGBUILD
@@ -1,29 +1,30 @@
-# $Id: PKGBUILD 66440 2012-02-24 22:59:57Z jlichtblau $
+# $Id: PKGBUILD 85395 2013-03-01 10:38:40Z andrea $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alois Nespor <alois.nespor@gmail.com>
pkgname=qstardict
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Qt4 clone of StarDict with full support of StarDict dictionaries"
arch=('i686' 'x86_64')
url="http://qstardict.ylsoftware.com/index.php"
license=('GPL2')
-depends=('qt')
+depends=('qt4')
provides=('stardict')
changelog=$pkgname.changelog
source=(http://qstardict.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2)
sha256sums=('b778ace65a22e5b9724d687ad90c77ec98feb2671774f73cd51725ec7b59e62f')
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/$pkgname-$pkgver"
+ sed -i -e 's|glib/gmem.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' plugins/stardict/stardict.cpp
qmake ENABLED_PLUGINS="stardict web swac"
make
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/$pkgname-$pkgver"
- make INSTALL_ROOT=${pkgdir} install
+ make INSTALL_ROOT="${pkgdir}" install
}