pkgname=mono-beta pkgver=3.2.1 pkgrel=1 pkgdesc="Free implementation of the .NET platform including runtime and compiler" url="http://www.mono-project.com/" arch=('i686' 'x86_64') license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11') depends=('zlib' 'libgdiplus>=2.10' 'sh') makedepends=('pkgconfig') options=('!libtool' '!makeflags') provides=('monodoc' 'mono=3.2.1') conflicts=('monodoc' 'mono' 'mono-git') install=mono-beta.install md5sums=('bb613f9c93f57c29abcb7270f3215eb2') source=("http://download.mono-project.com/sources/mono/mono-${pkgver}.tar.bz2") build() { cd ${srcdir}/mono-${pkgver} #build mono ./configure --prefix=/usr --sysconfdir=/etc \ --sbindir=/usr/bin --bindir=/usr/bin \ --with-libgdiplus=installed make V=1 || return 1 } package() { cd ${srcdir}/mono-${pkgver} make DESTDIR=${pkgdir} install || return 1 #install license mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} install -m644 mcs/MIT.X11 ${pkgdir}/usr/share/licenses/${pkgname}/ #fix the .pc file to be able to request mono on what it depends, fixes #go-oo build sed -i -e "s:#Requires:Requires:" ${pkgdir}/usr/lib/pkgconfig/mono.pc }