summaryrefslogtreecommitdiff
path: root/community/gnome-do-plugins/PKGBUILD
blob: 240b2708633431d895bf05b23ef4ec6d5dec65a0 (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
# $Id: PKGBUILD 5443 2009-11-08 15:41:13Z ibiru $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Doehni <dohny@gmx.de>

pkgname=gnome-do-plugins
pkgver=0.8.2.1
pkgrel=1
pkgdesc="Plugins for gnome-do"
arch=('i686' 'x86_64' 'mips64el')
url="http://do.davebsd.com/"
license=('GPL3')
depends=('gnome-do>=0.8.1')
makedepends=('intltool' 'pkgconfig' 'banshee' 'flickrnet' 'evolution-sharp' 'monodevelop')
optdepends=('evolution-sharp: Evolution plugin'
            'flickrnet: Flickr plugin')
source=("http://code.edge.launchpad.net/do-plugins/0.8/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
        killsomeplugins.patch)

build() {
  export MONO_SHARED_DIR=$srcdir/.wabi
  mkdir -p "${MONO_SHARED_DIR}"

  cd $srcdir/$pkgname-$pkgver

  # GNOME dictionary plugin cause system lock-up (infinite memory leak)
  patch -Np1 -i $srcdir/killsomeplugins.patch || return 1

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir" install || return 1

  rm -rf ${pkgdir}/usr/share/gnome-do/plugins/*.mdb
}
md5sums=('32b88c062209e5b107602ccc5df285e7'
         '0322d0374f80f607535120f545ab6ed7')