summaryrefslogtreecommitdiff
path: root/extra/mono-basic/PKGBUILD
blob: 0ffd93c05b6ca7794030254d62086df7ab0b5399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 111509 2011-02-27 11:33:57Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>

pkgname=mono-basic
pkgver=2.10
pkgrel=1
pkgdesc="Mono Visual Basic.NET compiler"
arch=(i686 x86_64)
license=('GPL')
url="http://www.mono-project.com/"
depends=('mono>=2.10.1')
makedepends=('pkgconfig')
source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('b459890e5447419ab1a5ea43d9b8afe8')

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
}