pkgname=qstardict pkgver=1.1 pkgrel=1 pkgdesc="Qt4 clone of StarDict with full support of StarDict dictionaries." arch=('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') categories=('utils') screenshot=('http://qstardict.ylsoftware.com/images/screenshot1.png') source=(https://github.com/a-rodin/qstardict/archive/qstardict-${pkgver}.tar.gz) sha256sums=('d804abd17891f29fe5f093f44dc6dba026839fc2c21813907a6510bc6831d6e3') build() { cd ${srcdir}/$pkgname-$pkgname-$pkgver qmake ENABLED_PLUGINS="stardict web swac" make } package() { cd ${srcdir}/$pkgname-$pkgname-$pkgver make INSTALL_ROOT=${pkgdir} install }