mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1,017 B
Bash
34 lines
1,017 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
|
# Contributor: m0rph <m0rph.mailbox@gmail.com>
|
|
|
|
pkgname=goldendict
|
|
pkgver=0.9.0
|
|
pkgrel=3
|
|
pkgdesc="Feature-rich dictionary lookup program."
|
|
arch=('i686' 'x86_64')
|
|
url="http://goldendict.berlios.de/"
|
|
license=('GPL3')
|
|
depends=('hunspell' 'libvorbis' 'libxtst' 'libzip' 'openssl' 'qt')
|
|
makedepends=('patch')
|
|
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver-src-x11.tar.bz2 \
|
|
$pkgname-paths.diff \
|
|
$pkgname-gcc44.diff)
|
|
|
|
md5sums=('89303abcac6c86c4635b264414f02ccc'
|
|
'21d64a3ce9b138c85a848803c41fb23a'
|
|
'1c1148566b45497ef59d68e01ef503dd')
|
|
|
|
build(){
|
|
cd ${srcdir}/$pkgname-$pkgver-src
|
|
|
|
patch -Np0 -i ${srcdir}/$pkgname-paths.diff || return 1
|
|
patch -Np0 -i ${srcdir}/$pkgname-gcc44.diff || return 1
|
|
|
|
qmake || return 1
|
|
make || return 1
|
|
make INSTALL_ROOT=${pkgdir} install || return 1
|
|
|
|
#removing unneeded
|
|
rm -rf ${pkgdir}/usr/share/app-install || return 1
|
|
}
|