desktop/qstardict/PKGBUILD
2017-04-28 16:55:52 +02:00

30 lines
1.0 KiB
Bash
Executable File

pkgname=qstardict
pkgver=1.2
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=('d238a46aace785f9865c9a8b4da82b0348cca17229bc27e1ef86e17620ae322a')
build() {
cd ${srcdir}/$pkgname-$pkgname-$pkgver
qmake ENABLED_PLUGINS="stardict web swac"
make
}
package() {
cd ${srcdir}/$pkgname-$pkgname-$pkgver
make INSTALL_ROOT=${pkgdir} install
}