summaryrefslogtreecommitdiff
path: root/community/goldendict/PKGBUILD
blob: 10a54a3745319dd0f2a121e31bb730c92d87c2ea (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 48628 2011-06-03 15:58:27Z stephane $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: m0rph <m0rph.mailbox@gmail.com>

pkgname=goldendict
pkgver=1.0.1
pkgrel=3
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
}