summaryrefslogtreecommitdiff
path: root/community/qstardict/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qstardict/PKGBUILD')
-rwxr-xr-xcommunity/qstardict/PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/community/qstardict/PKGBUILD b/community/qstardict/PKGBUILD
index 960eaa19f..7a6e2487c 100755
--- a/community/qstardict/PKGBUILD
+++ b/community/qstardict/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 14399 2010-04-03 11:38:56Z foutrelis $
+# $Id: PKGBUILD 54585 2011-08-20 18:29:13Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alois Nespor <alois.nespor@gmail.com>
pkgname=qstardict
-pkgver=0.13.1
-pkgrel=3
-pkgdesc="Qt4 clone of StarDict with full support of StarDict dictionaries."
+pkgver=1.0
+pkgrel=1
+pkgdesc="Qt4 clone of StarDict with full support of StarDict dictionaries"
arch=('i686' 'x86_64' 'mips64el')
url="http://qstardict.ylsoftware.com/index.php"
license=('GPL2')
@@ -15,19 +15,19 @@ optdepends=('festival-awb-arctic: for pronouncing words, Scottish English male s
'festival-kallpc16k: for pronouncing words, British English RP male speaker'
'festival-rablpc16k: for pronouncing words, British English RP male speaker')
provides=('stardict')
-source=(http://qstardict.ylsoftware.com/files/${pkgname}-${pkgver}.tar.bz2
- gcc4.4.patch)
-
-md5sums=('0828c3fa01c5237db8a67d356a9d1a8c'
- 'c6ed927f349025bdbf202f1c5a5888e8')
+changelog=$pkgname.changelog
+source=(http://qstardict.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2)
+sha256sums=('9cb20f8829be0983176bc52728d3701b0862522741cac1a9967222c86aaaa9fb')
build() {
cd ${srcdir}/$pkgname-$pkgver
- # This patch is commited upstream, remove on next release
- patch -Np1 -i "$srcdir/gcc4.4.patch" || return 1
+ qmake ENABLED_PLUGINS="stardict web swac"
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
- qmake ENABLED_PLUGINS="stardict web swac" || return 1
- make || return 1
make INSTALL_ROOT=${pkgdir} install
}