diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2015-10-16 18:48:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-10-16 23:27:31 +0700 |
commit | 9e9495cf6ef28118566549656d8b6318c642f3b9 (patch) | |
tree | c3dc572183dc660556f390c8bddd8102cda76f72 /development/monodevelop/monodevelop.SlackBuild | |
parent | 6776d56b59b92271d396aee55a54f52c9ba3cf6c (diff) |
development/monodevelop: Updated for version 5.7.0.660.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/monodevelop/monodevelop.SlackBuild')
-rw-r--r-- | development/monodevelop/monodevelop.SlackBuild | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/development/monodevelop/monodevelop.SlackBuild b/development/monodevelop/monodevelop.SlackBuild index 7defeb97e6613..da9023eb7d16c 100644 --- a/development/monodevelop/monodevelop.SlackBuild +++ b/development/monodevelop/monodevelop.SlackBuild @@ -22,7 +22,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=monodevelop -VERSION=${VERSION:-5.0.1} +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 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,9 +62,30 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-0.tar.bz2 -cd $PRGNAM-$VERSION +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/ + +popd + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |