PKGBUILDs/community/qstardict/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
1 KiB
Bash
Executable file

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alois Nespor <alois.nespor@gmail.com>
pkgname=qstardict
pkgver=0.13.1
pkgrel=1
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')
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)
md5sums=('0828c3fa01c5237db8a67d356a9d1a8c')
build() {
cd "${srcdir}/$pkgname-$pkgver"
qmake ENABLED_PLUGINS="stardict web swac" || return 1
make || return 1
make INSTALL_ROOT="${pkgdir}" install
}