PKGBUILDs/extra/mono/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 50106 2009-08-22 12:05:20Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Brice Carpentier <brice@dlfp.org>
pkgname=mono
pkgver=2.4.2.3
pkgrel=1
pkgdesc="Free implementation of the .NET platform including runtime and compiler"
arch=(i686 x86_64)
license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11')
url="http://www.mono-project.com/"
depends=('zlib' 'libgdiplus>=2.4.2' 'sh')
makedepends=('pkgconfig')
options=('!libtool' '!makeflags')
provides=('monodoc')
conflicts=('monodoc')
source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2
mono.rc.d)
md5sums=('696f25afc8453cd0d1c78de6e905dcf2'
'8315e46c6a6e9625502521fc0ad1a322')
build() {
mkdir -p ${startdir}/pkg/usr/share/licenses/$pkgname
# build mono
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--with-libgdiplus=installed \
--with-tls=__thread \
--with-moonlight=yes
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
# install daemons and pathes
mkdir -p ${startdir}/pkg/etc/rc.d
install -m755 ${startdir}/src/mono.rc.d $startdir/pkg/etc/rc.d/mono
#install license
install -m644 mcs/MIT.X11 ${startdir}/pkg/usr/share/licenses/$pkgname/
}