summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReza Talebi <reza.talebi.73@outlook.com>2021-04-10 03:48:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:43 +0700
commitf0c6364a757e76bedc1fb759a7a09a23894c3d07 (patch)
tree0034512ac1b7e0f4783c3e130606c91bd713538d
parent82f9836e8cd5213212a584f9225e3fe517ed4efa (diff)
downloadslackbuilds-f0c6364a757e76bedc1fb759a7a09a23894c3d07.tar.gz
development/dotnet-runtime: Updated for version 3.1.13.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/dotnet-runtime/doinst.sh1
-rw-r--r--development/dotnet-runtime/dotnet-runtime.SlackBuild35
-rw-r--r--development/dotnet-runtime/dotnet-runtime.info6
3 files changed, 17 insertions, 25 deletions
diff --git a/development/dotnet-runtime/doinst.sh b/development/dotnet-runtime/doinst.sh
deleted file mode 100644
index ec1d7e5165..0000000000
--- a/development/dotnet-runtime/doinst.sh
+++ /dev/null
@@ -1 +0,0 @@
-ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
diff --git a/development/dotnet-runtime/dotnet-runtime.SlackBuild b/development/dotnet-runtime/dotnet-runtime.SlackBuild
index 74297ad0fb..3c2f45160e 100644
--- a/development/dotnet-runtime/dotnet-runtime.SlackBuild
+++ b/development/dotnet-runtime/dotnet-runtime.SlackBuild
@@ -1,5 +1,5 @@
#!/bin/sh
-#
+
# Slackware build script for dotnet-runtime.
#
# Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
@@ -23,16 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dotnet-runtime
-VERSION=${VERSION:-3.1.8}
+VERSION=${VERSION:-3.1.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ ARCHITECTURE="x64"
+else
+ echo "Package for $ARCH architecture is not available."
+ exit 1
fi
CWD=$(pwd)
@@ -40,20 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
set -e
-if [ "$( uname -m )" = "x86_64" ]; then
- ARCH="x86_64"
- ARCHITECTURE="x64"
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
-else
- echo "Package for $(uname -m) architecture is not available."
- exit 1
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -64,12 +55,14 @@ mkdir -p usr/share/dotnet
tar -zxf $CWD/$PRGNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
chown -R root:root usr/share/dotnet
+mkdir -p usr/bin
+ln -s /usr/share/dotnet/dotnet usr/bin/dotnet
+
mkdir -p usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -c n -l n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/dotnet-runtime/dotnet-runtime.info b/development/dotnet-runtime/dotnet-runtime.info
index fde866f9d6..04afde7a5c 100644
--- a/development/dotnet-runtime/dotnet-runtime.info
+++ b/development/dotnet-runtime/dotnet-runtime.info
@@ -1,10 +1,10 @@
PRGNAM="dotnet-runtime"
-VERSION="3.1.8"
+VERSION="3.1.13"
HOMEPAGE="https://dotnet.microsoft.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/e4e47a0a-132e-416a-b8eb-f3373ad189d9/43af4412e27696c3c16e50f496f6c7af/dotnet-runtime-3.1.8-linux-x64.tar.gz"
-MD5SUM_x86_64="c12f3c0964df3a9539d9d4b525b1c371"
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/6880db3b-a4fe-4801-8e80-bbbec045f7c0/283b70d5e263c0341f011adf5a2ea5b1/dotnet-runtime-3.1.13-linux-x64.tar.gz"
+MD5SUM_x86_64="f4afc5386a912138b2cb1e78b71c8815"
REQUIRES=""
MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com"