Date: Wednesday, January 25, 2017 @ 22:20:15 Author: jgc Revision: 287453
upgpkg: monodevelop 6.2.0.1778-1 Modified: monodevelop/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-01-25 22:10:46 UTC (rev 287452) +++ PKGBUILD 2017-01-25 22:20:15 UTC (rev 287453) @@ -4,27 +4,30 @@ # Contributor: Giovanni Scafora <giova...@archlinux.org> pkgname=monodevelop -pkgver=5.10.1.6 -pkgrel=2 +pkgver=6.2.0.1778 +pkgrel=1 pkgdesc="An IDE primarily designed for C# and other .NET languages" -arch=('any') +arch=('x86_64' 'i686') url="http://www.monodevelop.com" license=('GPL') -depends=('mono>=4.0.1' 'mono-addins>=0.6.2' 'gnome-sharp' 'hicolor-icon-theme') +depends=('mono>=4.0.1' 'mono-addins>=0.6.2' 'gtk-sharp-2' 'referenceassemblies-pcl' 'fsharp' 'libssh2' 'curl') makedepends=('rsync' 'cmake' 'git' 'nuget') +replaces=('monodevelop-debugger-gdb') +provides=('monodevelop-debugger-gdb') options=(!makeflags) optdepends=('xsp: To run ASP.NET pages directly from monodevelop') source=(git://github.com/mono/monodevelop.git#tag=monodevelop-$pkgver) md5sums=('SKIP') -build() { - export MONO_SHARED_DIR=$srcdir/src/.wabi - mkdir -p $MONO_SHARED_DIR - - cd $srcdir/$pkgname +prepare() { + cd $pkgname git submodule update --init --recursive || return 1 git checkout tags/$pkgname-$pkgver git clean -dfx +} + +build() { + cd $pkgname ./configure --prefix=/usr --profile=stable XDG_CONFIG_HOME="$srcdir"/config LD_PRELOAD="" make @@ -31,14 +34,13 @@ } package() { - cd $srcdir/$pkgname + cd $pkgname - XDG_CONFIG_HOME="$srcdir"/config LD_PRELOAD="" make DESTDIR=$pkgdir install + XDG_CONFIG_HOME="$srcdir"/config LD_PRELOAD="" make DESTDIR="$pkgdir" install # delete conflicting files - find $pkgdir/usr/share/mime/ -type f -exec rm {} \; - rm -r $MONO_SHARED_DIR + find "$pkgdir"/usr/share/mime/ -type f -delete # 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 + #install -Dm755 "${srcdir}"/monodevelop/main/external/nuget-binary/NuGet.exe "${pkgdir}"/usr/lib/monodevelop/AddIns/MonoDevelop.PackageManagement/NuGet.exe }