desktop/qstardict/PKGBUILD

34 lines
1.1 KiB
Bash
Raw Normal View History

#
# Apps Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qstardict
2011-07-17 01:29:18 +08:00
pkgver=1.0
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')
categories=('utils')
2011-07-17 01:29:18 +08:00
source=(http://qstardict.ylsoftware.com/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('07f97bd61a5f64f0c8f80f68bd1ed07c')
build() {
cd ${srcdir}/$pkgname-$pkgver
2011-07-17 01:29:18 +08:00
qmake ENABLED_PLUGINS="stardict web swac"
make
make INSTALL_ROOT=${pkgdir} install
}