diff options
Diffstat (limited to 'extra/gnome-desktop-sharp/PKGBUILD')
-rw-r--r-- | extra/gnome-desktop-sharp/PKGBUILD | 90 |
1 files changed, 71 insertions, 19 deletions
diff --git a/extra/gnome-desktop-sharp/PKGBUILD b/extra/gnome-desktop-sharp/PKGBUILD index c8e883a28..34681fe3f 100644 --- a/extra/gnome-desktop-sharp/PKGBUILD +++ b/extra/gnome-desktop-sharp/PKGBUILD @@ -1,16 +1,14 @@ -# $Id: PKGBUILD 121043 2011-04-28 09:15:35Z heftig $ +# $Id: PKGBUILD 124614 2011-05-23 14:21:08Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> -pkgname=gnome-desktop-sharp +pkgbase=gnome-desktop-sharp +pkgname=('gnome-desktop-sharp' 'libgnome-desktop-sharp' 'gnome-print-sharp' 'gtkhtml-sharp' 'gtksourceview2-sharp' 'rsvg2-sharp' 'vte-sharp' 'wnck-sharp') pkgver=2.26.0 -pkgrel=6 -pkgdesc="GNOME desktop bindings for C#" -arch=('i686' 'x86_64' 'mips64el') +pkgrel=7 +arch=('i686' 'x86_64') license=(LGPL) url="http://gtk-sharp.sourceforge.net" -depends=('gnome-sharp' 'gnome-desktop2' 'vte' 'librsvg' 'libwnck' 'gtkhtml' 'gtksourceview2') -makedepends=('monodoc' 'libgnomeprintui') -optdepends=('libgnomeprintui') +makedepends=('gnome-sharp' 'gnome-desktop2' 'vte' 'librsvg' 'libgnomeprintui' 'libwnck' 'gtkhtml' 'gtksourceview2' 'monodoc') options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 gnome-desktop-sharp-lib-target.patch) @@ -18,18 +16,72 @@ md5sums=('4bc990900bb318b2ba0b0e7998bb47d1' '980cd3adf5e745f4caee0a172a51dcc3') build() { - # get rid of that .wapi errors; thanks to brice - export MONO_SHARED_DIR="$srcdir/wapi" - mkdir -p "$MONO_SHARED_DIR" + 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 + 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 +package_gnome-desktop-sharp() { + pkgdesc="GNOME desktop bindings for C#" + depends=('libgnome-desktop-sharp' 'gnome-print-sharp' 'gtkhtml-sharp' 'gtksourceview2-sharp' 'rsvg2-sharp' 'vte-sharp' 'wnck-sharp') +} + +package_libgnome-desktop-sharp() { + pkgdesc="Mono bindings for libgnome-desktop" + depends=('gtk-sharp-2' 'gnome-desktop2') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gnomedesktop install DESTDIR="$pkgdir" +} + +package_gnome-print-sharp() { + pkgdesc="Mono bindings for libgnomeprint and libgnomeprintui" + depends=('art-sharp' 'libgnomeprintui') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gnomeprint install DESTDIR="$pkgdir" +} + +package_gtkhtml-sharp() { + pkgdesc="Mono bindings for gtkhtml" + depends=('gtk-sharp-2' 'gtkhtml') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gtkhtml install DESTDIR="$pkgdir" +} + +package_gtksourceview2-sharp() { + pkgdesc="Mono bindings for gtksourceview2" + depends=('gtk-sharp-2' 'gtksourceview2') + + cd "$srcdir/$pkgbase-$pkgver" + make -C gtksourceview install DESTDIR="$pkgdir" +} + +package_rsvg2-sharp() { + pkgdesc="Mono bindings for librsvg" + depends=('gtk-sharp-2' 'librsvg') + + cd "$srcdir/$pkgbase-$pkgver" + make -C rsvg install DESTDIR="$pkgdir" +} + +package_vte-sharp() { + pkgdesc="Mono bindings for libvte" + depends=('gtk-sharp-2' 'vte') + + cd "$srcdir/$pkgbase-$pkgver" + make -C vte install DESTDIR="$pkgdir" +} + +package_wnck-sharp() { + pkgdesc="Mono bindings for libwnck" + depends=('gtk-sharp-2' 'libwnck') + + cd "$srcdir/$pkgbase-$pkgver" + make -C wnck install DESTDIR="$pkgdir" } |