# $Id: PKGBUILD 45011 2009-07-06 16:54:04Z daniel $ # Maintainer: Daniel Isenmann pkgname=mono-basic pkgver=2.4.2 pkgrel=1 pkgdesc="Mono Visual Basic.NET compiler" arch=(i686 x86_64) license=('GPL') url="http://www.mono-project.com/" depends=('mono>=2.4.2') makedepends=('pkgconfig') source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2) md5sums=('fd1cf869300ac176d2603c6b653ee90c') build() { # get rid of that .wapi errors; thanks to brice export MONO_SHARED_DIR=${startdir}/src/weird mkdir -p "${MONO_SHARED_DIR}" # build mono cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr sed -i 's/\/usr\/bin\/install/\/bin\/install/g' man/Makefile || return 1 make || return 1 make DESTDIR=${startdir}/pkg install }