summaryrefslogtreecommitdiff
path: root/extra/gnome-desktop-sharp/PKGBUILD
blob: c8e883a28c225f353b58327f030fafdebe8f52e5 (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 121043 2011-04-28 09:15:35Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-desktop-sharp
pkgver=2.26.0
pkgrel=6
pkgdesc="GNOME desktop bindings for C#"
arch=('i686' 'x86_64' 'mips64el')
license=(LGPL)
url="http://gtk-sharp.sourceforge.net"
depends=('gnome-sharp' 'gnome-desktop2' 'vte' 'librsvg' 'libwnck' 'gtkhtml' 'gtksourceview2')
makedepends=('monodoc' 'libgnomeprintui')
optdepends=('libgnomeprintui')
options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	gnome-desktop-sharp-lib-target.patch)
md5sums=('4bc990900bb318b2ba0b0e7998bb47d1'
         '980cd3adf5e745f4caee0a172a51dcc3')

build() {
 # get rid of that .wapi errors; thanks to brice
  export MONO_SHARED_DIR="$srcdir/wapi"
  mkdir -p "$MONO_SHARED_DIR"

  cd "$srcdir/$pkgname-$pkgver"
  patch -Np1 -i $srcdir/gnome-desktop-sharp-lib-target.patch
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make GACUTIL="/usr/bin/gacutil /root ${pkgdir}/usr/lib" \
      DESTDIR="$pkgdir" install
}