summaryrefslogtreecommitdiffstats
path: root/development/mono-addins/mono-addins.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2022-02-16 21:14:50 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:59:54 +0700
commit7397d7cd19305ebe5d72e26c8e0abec4d87f0e01 (patch)
tree0a16977775df1cbbb2425db274294ee73a1f616d /development/mono-addins/mono-addins.SlackBuild
parentbac2121e138d3bc6d1a352fe048782eec495261b (diff)
downloadslackbuilds-7397d7cd19305ebe5d72e26c8e0abec4d87f0e01.tar.gz
slackbuilds-7397d7cd19305ebe5d72e26c8e0abec4d87f0e01.tar.xz
development/mono-addins: Avoid nuget to build.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> 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, 10 insertions, 9 deletions
diff --git a/development/mono-addins/mono-addins.SlackBuild b/development/mono-addins/mono-addins.SlackBuild
index 6bc2dd12b3..c138faa83a 100644
--- a/development/mono-addins/mono-addins.SlackBuild
+++ b/development/mono-addins/mono-addins.SlackBuild
@@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mono-addins
VERSION=${VERSION:-1.3.5}
COMMIT="c636f258d0a724e7c0de447ea717d18cb90bfb17"
+COMMIT2="d25dd923839404bd64cc63f420e75acf96fc75c4"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,6 +73,7 @@ cd $TMP
rm -rf $PRGNAM-$COMMIT
tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
cd $PRGNAM-$COMMIT
+unzip $CWD/mono_msbuild_${COMMIT2}.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,6 +81,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 {} \;
+msbuild=$(pwd)/msbuild/MSBuild.exe
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -92,15 +96,12 @@ 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
-)
+mono "${msbuild}" Mono.Addins/Mono.Addins.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.Gui/Mono.Addins.Gui.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.MSBuild/Mono.Addins.MSBuild.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.Setup/Mono.Addins.Setup.csproj /p:WarningLevel=0;Configuration=Release
+
make install DESTDIR=$PKG
# Fix pkg-config prefix