blob: 960eaa19f55288f39e220b2fd31111ead6a7b51a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 14399 2010-04-03 11:38:56Z foutrelis $
# 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."
arch=('i686' 'x86_64' 'mips64el')
url="http://qstardict.ylsoftware.com/index.php"
license=('GPL2')
depends=('qt')
optdepends=('festival-awb-arctic: for pronouncing words, Scottish English male speaker'
'festival-don: for pronouncing words, British English RP male speaker'
'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')
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" || return 1
make || return 1
make INSTALL_ROOT=${pkgdir} install
}
|