summaryrefslogtreecommitdiff
path: root/development/mono/mono.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mono/mono.SlackBuild')
-rw-r--r--development/mono/mono.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index 4012a4d3ef..f1373abe67 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -5,7 +5,8 @@
# Updated by Andre Barboza <bmg.andre@gmail.com>
PRGNAM=mono
-VERSION=${VERSION:-3.12.1}
+VERSION=${VERSION:-4.2.2.10}
+MAJORVERSION=${MAJORVERSION:-4.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +44,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+cd $PRGNAM-$MAJORVERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -51,7 +53,6 @@ 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 {} \;
-# Fix libgdiplus library path
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \