mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
30 lines
1.0 KiB
Bash
Executable File
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
|
|
|
|
}
|