summaryrefslogtreecommitdiff
path: root/development/monodevelop/monodevelop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/monodevelop/monodevelop.SlackBuild')
-rw-r--r--development/monodevelop/monodevelop.SlackBuild38
1 files changed, 11 insertions, 27 deletions
diff --git a/development/monodevelop/monodevelop.SlackBuild b/development/monodevelop/monodevelop.SlackBuild
index da9023eb7d..f911909418 100644
--- a/development/monodevelop/monodevelop.SlackBuild
+++ b/development/monodevelop/monodevelop.SlackBuild
@@ -22,11 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=monodevelop
-VERSION=${VERSION:-5.7.0.660}
-MAJOR_VERSION=5.7
-NUNIT_VERSION=2.6.3
-NUNIT_CECIL_VERSION=2.5.10
-NUNIT_CECIL_SRCVERSION=2.5.10.11092
+VERSION=${VERSION:-5.9.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,28 +58,14 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$MAJOR_VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$MAJOR_VERSION
-
-mkdir -p other_src
-pushd other_src
-
-# Monodevelop uses external NUnit framework (not shipped with Mono)
-unzip $CWD/NUnit-${NUNIT_VERSION}.zip
-mkdir -p ../packages/NUnit.${NUNIT_VERSION}/lib
-cp -rf NUnit-${NUNIT_VERSION}/bin/framework/* ../packages/NUnit.${NUNIT_VERSION}/lib
-mkdir -p ../packages/NUnit.Runners.${NUNIT_VERSION}/tools/lib
-cp -rf NUnit-${NUNIT_VERSION}/bin/lib/* ../packages/NUnit.Runners.${NUNIT_VERSION}/tools/lib
-
-# Cecil requires a different NUnit version
-unzip $CWD/NUnit-${NUNIT_CECIL_SRCVERSION}.zip
-cp -rf NUnit-${NUNIT_CECIL_SRCVERSION}/bin/net-2.0/framework/* ../external/cecil/Test/libs/nunit-${NUNIT_CECIL_VERSION}
-
-# Monodevelop requires nuget binaries
-unzip $CWD/2.8.1-monotouch-unified.zip
-cp -rf nuget-binary-2.8.1-monotouch-unified/* ../external/nuget-binary/
-
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 --strip-components 1 -C $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+
+# packages restored from nuget
+pushd main
+tar -xvf $CWD/$PRGNAM-$VERSION-packages.tar.gz
popd
chown -R root:root .
@@ -93,6 +75,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+pushd main
+
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \