You are not logged in.
# $Id: PKGBUILD,v 1.18 2005/03/24 18:58:43 tobias Exp $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Mike Limon <mike@left-foot.org>
pkgname=mono
pkgver=1.1.6
pkgrel=1
pkgdesc="free implementation of the .NET platform including runtime and compiler"
url="http://www.mono-project.com/"
depends=('glib2' 'zlib' 'bash')
makedepends=('pkgconfig' 'pacman>=2.7.3')
install=mono.install
source=(http://www.go-mono.com/archive/$pkgver/$pkgname-$pkgver.tar.gz mono
mono.sh)
md5sums=('d5097b149effa0b248a4398fe630bd30'
'13f7a9f7481411492f8ff015734daba1'
'fad5d614074d100cb7aef151f6bd0c6c')
build() {
# get rid of that .wapi errors; thanks to brice
mkdir -p $startdir/pkg/weird
export MONO_SHARED_DIR=$startdir/pkg/weird
# build mono
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/mono --sysconfdir=/etc/opt
--with-tls=pthread --with-icu=no --with-jit=yes --with-preview=yes
--enable-nunit-tests
make || return 1
# bugfix
sed -i 's:/usr/bin/install:/bin/install:' mcs/build/config-default.make
sed -i "/NO_INSTALL = yes/d" mcs/nunit20/nunit-console/Makefile
make DESTDIR=$startdir/pkg install
# install daemons and pathes
install -D -m755 ../mono $startdir/pkg/etc/rc.d/mono
install -D -m755 ../mono.sh $startdir/pkg/etc/profile.d/mono.sh
# housecleaning
rm -rf $startdir/pkg/weird
}
Offline