summaryrefslogtreecommitdiff
path: root/testing/monodevelop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/monodevelop/PKGBUILD')
-rw-r--r--testing/monodevelop/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/monodevelop/PKGBUILD b/testing/monodevelop/PKGBUILD
new file mode 100644
index 000000000..1371e34d8
--- /dev/null
+++ b/testing/monodevelop/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 164744 2012-08-04 11:23:54Z andyrtr $
+# Maintainer: Daniel Isenmann <daniel@archlinux.org>
+# Contributor: Timm Preetz <timm@preetz.us>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=monodevelop
+pkgver=3.0.3.5
+pkgrel=2
+pkgdesc="An IDE primarily designed for C# and other .NET languages"
+
+# should probably changed to "any" - no ELF files - OpenSUSE builds it as NOARCH
+arch=('i686' 'x86_64')
+
+url="http://www.monodevelop.com"
+license=('GPL')
+depends=('mono>=2.10.8' 'mono-addins>=0.6.2' 'gnome-sharp' 'desktop-file-utils' 'hicolor-icon-theme')
+options=(!makeflags)
+install=monodevelop.install
+source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ monodevelop-core-addins.pc.in.patch)
+md5sums=('ca46b77b49266112b63a8f5c451c5565'
+ '8466d032735130e37d4091a793a7966c')
+
+build() {
+ export MONO_SHARED_DIR=$srcdir/src/.wabi
+ mkdir -p $MONO_SHARED_DIR
+
+ cd $srcdir/$pkgname-$pkgver
+ # fix location for MonoDevelop.Gettext.dll - breaks gdb build
+ patch -Np0 -i ${srcdir}/monodevelop-core-addins.pc.in.patch
+
+ ./configure --prefix=/usr --disable-update-mimedb --disable-update-desktopdb
+ LD_PRELOAD="" make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ LD_PRELOAD="" make DESTDIR=$pkgdir install
+ rm -r $MONO_SHARED_DIR
+}
+