summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfusion8092016-10-22 17:34:04 +1000
committerfusion8092016-10-22 17:34:04 +1000
commit2838868916df84311526e4655a2b80dd9f81f8ad (patch)
treec5f2f3ba0e5eae854f49718478f3161f8debd068
downloadaur-2838868916df84311526e4655a2b80dd9f81f8ad.tar.gz
Initial commit
-rw-r--r--.SRCINFO29
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD55
3 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..150105e56f1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+# Generated by mksrcinfo v8
+# Sat Oct 22 07:34:04 UTC 2016
+pkgbase = monodevelop-beta
+ pkgdesc = An IDE primarily designed for C# and other .NET languages - Beta channel
+ pkgver = 6.1.2.38
+ pkgrel = 1
+ url = http://www.monodevelop.com
+ arch = any
+ license = GPL
+ makedepends = rsync
+ makedepends = cmake
+ makedepends = git
+ makedepends = nuget
+ makedepends = fsharp
+ makedepends = mono-pcl
+ depends = mono>=4.0.1
+ depends = mono-addins>=0.6.2
+ depends = gnome-sharp
+ depends = hicolor-icon-theme
+ depends = fsharp
+ optdepends = xsp: To run ASP.NET pages directly from monodevelop
+ provides = monodevelop
+ conflicts = monodevelop
+ options = !makeflags
+ source = git://github.com/mono/monodevelop.git#tag=monodevelop-6.1.2.38
+ md5sums = SKIP
+
+pkgname = monodevelop-beta
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f56e57ba84d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+monodevelop
+src
+pkg
+*.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5d2d5f7717
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Brenton Horne <brentonhorne77@gmail.com>
+# Contributor: Malah <malah@neuf.fr>
+# Contributor: Daniel Isenmann <daniel@archlinux.org>
+# Contributor: arojas
+# Contributor: Timm Preetz <timm@preetz.us>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=monodevelop-beta
+_pkgname=monodevelop
+pkgver=6.1.2.38
+pkgrel=1
+pkgdesc="An IDE primarily designed for C# and other .NET languages - Beta channel"
+arch=('any')
+url="http://www.monodevelop.com"
+license=('GPL')
+depends=('mono>=4.0.1' 'mono-addins>=0.6.2' 'gnome-sharp' 'hicolor-icon-theme' 'fsharp')
+makedepends=('rsync' 'cmake' 'git' 'nuget' 'fsharp' 'mono-pcl')
+options=(!makeflags)
+optdepends=('xsp: To run ASP.NET pages directly from monodevelop')
+provides=('monodevelop')
+conflicts=('monodevelop')
+source=(git://github.com/mono/monodevelop.git#tag=${_pkgname}-$pkgver)
+md5sums=('SKIP')
+
+build() {
+ export MONO_SHARED_DIR=$srcdir/src/.wabi
+ mkdir -p $MONO_SHARED_DIR
+
+ cd $srcdir/$_pkgname
+ git submodule update --init --recursive || return 1
+ git checkout tags/$_pkgname-$pkgver
+ git clean -dfx
+
+ ./configure --prefix=/usr --profile=stable
+
+ # fix MonoDevelop.FSharp.Shared.ToolTips
+ # tips https://bugzilla.xamarin.com/show_bug.cgi?id=43657#c13
+ # source https://github.com/mono/monodevelop/commit/e4037243e8ba2d78136d033578efd9b48a5a3fa3
+ sed -i -e "s/MonoDevelop.FSharp.Shared.ToolTip /MonoDevelop.FSharp.Shared.ToolTips.ToolTip /" "${srcdir}/${_pkgname}"/main/external/fsharpbinding/MonoDevelop.FSharpBinding/FSharpTextEditorCompletion.fs
+ sed -i -e "s/MonoDevelop.FSharp.Shared.EmptyTip /MonoDevelop.FSharp.Shared.ToolTips.EmptyTip /" "${srcdir}/${_pkgname}"/main/external/fsharpbinding/MonoDevelop.FSharpBinding/FSharpTextEditorCompletion.fs
+
+ XDG_CONFIG_HOME="$srcdir"/config LD_PRELOAD="" make
+}
+
+package() {
+ cd $srcdir/$_pkgname
+
+ XDG_CONFIG_HOME="$srcdir"/config LD_PRELOAD="" make DESTDIR=$pkgdir install
+ # delete conflicting files
+ rm -r $(find $pkgdir/usr/share/mime/ -type f | grep -v "packages")
+ rm -r $MONO_SHARED_DIR
+
+ # nuget.exe is missing somehow, fixed FS#43423
+ install -Dm755 "${srcdir}"/monodevelop/main/external/nuget-binary/nuget.exe "${pkgdir}"/usr/lib/monodevelop/AddIns/MonoDevelop.PackageManagement/nuget.exe
+}