summaryrefslogtreecommitdiff
path: root/extra/mono-basic/PKGBUILD
blob: 585dafaf18d8824a972d5141adf98cd6858ae79b (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
29
30
31
32
# $Id: PKGBUILD 176982 2013-02-03 10:15:27Z allan $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>

pkgname=mono-basic
pkgver=2.10
pkgrel=3
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 ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}