summaryrefslogtreecommitdiff
path: root/community/goldendict/PKGBUILD
blob: 4abaf32a905342791edc6f252729096bfc5d86b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 36565 2011-01-04 21:08:42Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: m0rph <m0rph.mailbox@gmail.com>

pkgname=goldendict
pkgver=1.0.1
pkgrel=2
pkgdesc="Feature-rich dictionary lookup program"
arch=('i686' 'x86_64' 'mips64el')
url="http://goldendict.berlios.de/"
license=('GPL3')
depends=('hunspell' 'libvorbis' 'libxtst' 'libzip' 'openssl' 'phonon')
makedepends=('patch')
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2 \
        $pkgname-paths.diff)
md5sums=('d56bb854936015104029d1f0b98b61bb'
         '4488d4353e5522796c00785f0ce265e1')

build(){
  cd ${srcdir}

  patch -Np0 -i ${srcdir}/$pkgname-paths.diff

  qmake
  make
  qmake
}

package() {
  cd ${srcdir}

  make INSTALL_ROOT=${pkgdir} install

#removing unneeded
  rm -rf ${pkgdir}/usr/share/app-install
}