summaryrefslogtreecommitdiff
path: root/extra/mono-basic/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mono-basic/PKGBUILD')
-rw-r--r--extra/mono-basic/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/mono-basic/PKGBUILD b/extra/mono-basic/PKGBUILD
index b0552c5a1..585dafaf1 100644
--- a/extra/mono-basic/PKGBUILD
+++ b/extra/mono-basic/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 149087 2012-02-05 17:06:50Z daniel $
+# $Id: PKGBUILD 176982 2013-02-03 10:15:27Z allan $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
pkgname=mono-basic
pkgver=2.10
-pkgrel=2
+pkgrel=3
pkgdesc="Mono Visual Basic.NET compiler"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
url="http://www.mono-project.com/"
depends=('mono>=2.10.1')
@@ -17,12 +17,16 @@ 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}
+ cd ${srcdir}/${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
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
}