# $Id: PKGBUILD 45020 2009-07-06 16:57:07Z daniel $ # Maintainer: Daniel Isenmann # Contributor: tardo pkgname=mono-addins pkgver=0.4 pkgrel=3 pkgdesc="a generic framework for creating extensible applications and for creating libraries which extend those applications" arch=('i686' 'x86_64') url="http://www.mono-project.com/Mono.Addins" license=('custom:MIT') depends=('gtk-sharp-2>=2.12.8' 'mono>=2.4.2') makedepends=('pkgconfig') source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2) md5sums=('3b7f3f6e55c95413df184d0e4c9233e4') build() { export MONO_SHARED_DIR="${startdir}/src/.wabi" mkdir -p "${MONO_SHARED_DIR}" cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-gui || return 1 make || return 1 make GACUTIL="/usr/bin/gacutil -root $startdir/pkg/usr/lib" DESTDIR=${startdir}/pkg install || return 1 install -m755 -d ${startdir}/pkg/usr/share/licenses/${pkgname} install -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1 }