desktop/qstardict/PKGBUILD

27 lines
751 B
Bash
Raw Normal View History

pkgname=qstardict
2018-01-28 10:24:09 +08:00
pkgver=1.3
2011-07-17 01:29:18 +08:00
pkgrel=1
pkgdesc="Qt4 clone of StarDict with full support of StarDict dictionaries."
2015-12-22 05:51:53 +08:00
arch=('x86_64')
url="http://qstardict.ylsoftware.com/index.php"
license=('GPL2')
2018-01-28 10:24:09 +08:00
depends=('hicolor-icon-theme' 'qt5-base')
makedepends=('qt5-tools')
provides=('stardict')
categories=('utils')
screenshot=('http://qstardict.ylsoftware.com/images/screenshot1.png')
2018-01-28 10:24:09 +08:00
source=(https://github.com/a-rodin/qstardict/archive/${pkgname}-${pkgver}.tar.gz)
sha256sums=('9b083a3177407d66a17403742590471a0aa89a3d31df886926b79fa21e4d41a4')
build() {
2015-12-22 05:51:53 +08:00
cd ${srcdir}/$pkgname-$pkgname-$pkgver
2018-01-28 10:24:09 +08:00
qmake-qt5 ENABLED_PLUGINS="stardict web swac"
2011-07-17 01:29:18 +08:00
make
}
2015-12-22 05:51:53 +08:00
package() {
cd ${srcdir}/$pkgname-$pkgname-$pkgver
2018-01-28 10:24:09 +08:00
make INSTALL_ROOT=${pkgdir} install
2017-04-28 22:55:52 +08:00
}