summaryrefslogtreecommitdiff
path: root/development/mono-addins
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-16 21:14:50 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:59:54 +0700
commit7397d7cd19305ebe5d72e26c8e0abec4d87f0e01 (patch)
tree0a16977775df1cbbb2425db274294ee73a1f616d /development/mono-addins
parentbac2121e138d3bc6d1a352fe048782eec495261b (diff)
downloadslackbuilds-7397d7cd19305ebe5d72e26c8e0abec4d87f0e01.tar.gz
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')
-rw-r--r--development/mono-addins/mono-addins.SlackBuild19
-rw-r--r--development/mono-addins/mono-addins.info8
2 files changed, 15 insertions, 12 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
diff --git a/development/mono-addins/mono-addins.info b/development/mono-addins/mono-addins.info
index a20c409769..74b4a59a53 100644
--- a/development/mono-addins/mono-addins.info
+++ b/development/mono-addins/mono-addins.info
@@ -1,10 +1,12 @@
PRGNAM="mono-addins"
VERSION="1.3.5"
HOMEPAGE="https://github.com/mono/mono-addins"
-DOWNLOAD="https://github.com/mono/mono-addins/archive/c636f258d0a724e7c0de447ea717d18cb90bfb17/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17.tar.gz"
-MD5SUM="64dc3e784fdc373e78021ec096c9179b"
+DOWNLOAD="https://github.com/mono/mono-addins/archive/c636f258d0a724e7c0de447ea717d18cb90bfb17/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17.tar.gz \
+ https://github.com/Microsoft/msbuild/releases/download/mono-hosted-msbuild-v0.03/mono_msbuild_d25dd923839404bd64cc63f420e75acf96fc75c4.zip"
+MD5SUM="64dc3e784fdc373e78021ec096c9179b \
+ 14345c2f2dc53aa902a89419e234d2d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtk-sharp nuget"
+REQUIRES="gtk-sharp"
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"