diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/qstardict/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/qstardict/PKGBUILD')
-rwxr-xr-x | community/qstardict/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/qstardict/PKGBUILD b/community/qstardict/PKGBUILD new file mode 100755 index 000000000..6310c9c5e --- /dev/null +++ b/community/qstardict/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 14399 2010-04-03 11:38:56Z foutrelis $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Alois Nespor <alois.nespor@gmail.com> + +pkgname=qstardict +pkgver=0.13.1 +pkgrel=3 +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') +source=(http://qstardict.ylsoftware.com/files/${pkgname}-${pkgver}.tar.bz2 + gcc4.4.patch) + +md5sums=('0828c3fa01c5237db8a67d356a9d1a8c' + 'c6ed927f349025bdbf202f1c5a5888e8') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + # This patch is commited upstream, remove on next release + patch -Np1 -i "$srcdir/gcc4.4.patch" || return 1 + + qmake ENABLED_PLUGINS="stardict web swac" || return 1 + make || return 1 + make INSTALL_ROOT=${pkgdir} install +} |