summaryrefslogtreecommitdiff
path: root/development/mono-addins/mono-addins.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-06-09 23:09:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-10 07:01:50 +0700
commitf39c70a9fbfe452a09f2f086f4dab236ae08d634 (patch)
tree453dcf6b66e97a3c76a039f8370ac4d1e0237990 /development/mono-addins/mono-addins.SlackBuild
parentba98475228c16697e96209af42df28902f8de09b (diff)
downloadslackbuilds-f39c70a9fbfe452a09f2f086f4dab236ae08d634.tar.gz
development/mono-addins: Updated for version 1.3.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mono-addins/mono-addins.SlackBuild')
-rw-r--r--development/mono-addins/mono-addins.SlackBuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/development/mono-addins/mono-addins.SlackBuild b/development/mono-addins/mono-addins.SlackBuild
index 458ce9193e..e220e55f7e 100644
--- a/development/mono-addins/mono-addins.SlackBuild
+++ b/development/mono-addins/mono-addins.SlackBuild
@@ -22,8 +22,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mono-addins
-VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.3.5}
+COMMIT="c636f258d0a724e7c0de447ea717d18cb90bfb17"
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,7 +82,15 @@ MCS=/usr/bin/mcs \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
+nuget restore Mono.Addins.sln
make
+( cd bin
+ ls Mono.*.dll |
+ while read file;
+ do
+ sn -R $file ../mono-addins.snk;
+ done
+)
make install DESTDIR=$PKG
# Fix pkg-config prefix