PKGBUILDs/extra/gsf-sharp/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
742 B
Bash

# $Id: PKGBUILD 34147 2009-04-06 20:50:43Z eric $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=gsf-sharp
pkgver=0.8.1
pkgrel=2
pkgdesc="libgsf .NET binding"
arch=(i686 x86_64)
url="http://go-mono.org/"
license=('LGPL2')
depends=('libgsf>=1.14.1' 'gtk-sharp-2>=2.10')
makedepends=('pkgconfig')
options=(!libtool)
source=(http://primates.ximian.com/~joe/${pkgname}-${pkgver}.tar.gz)
md5sums=('92bb68612bdcd8ca3c475b3fee097968')
build() {
export MONO_SHARED_DIR=${srcdir}/.wabi
mkdir -p ${MONO_SHARED_DIR}
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf ${MONO_SHARED_DIR}
}