aboutsummaryrefslogtreecommitdiff
path: root/development/mono/mono.SlackBuild
diff options
context:
space:
mode:
authorSebastián Salazar Molina <sebasalazar@gmail.com>2015-01-07 08:26:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-07 23:12:10 +0700
commit025780df929eccde01515b9253fca2ad86c8b115 (patch)
treeacac1b10838d2f77e6aeb192f3ec899fbf36dbdb /development/mono/mono.SlackBuild
parent7ca7ea0193431009d7bef9e7f2837c2bebfc725f (diff)
development/mono: Updated for version 3.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mono/mono.SlackBuild')
-rw-r--r--development/mono/mono.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index f4fe78ec23ca9..288a7ccfaa7ce 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -4,8 +4,8 @@
# Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl>
PRGNAM=mono
-VERSION=${VERSION:-3.2.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.10.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -48,11 +48,9 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix libgdiplus library path
-patch -p1 < $CWD/libgdiplus-libdir.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,13 +91,11 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mv 4.5/web.config 4.5/web.config.new
)
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar \
- AUTHORS ChangeLog COPYING.LIB LICENSE NEWS README docs \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog COPYING.LIB LICENSE NEWS README.md docs $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install