summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorReza Talebi <reza.talebi.73@outlook.com>2021-04-10 03:18:09 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:42 +0700
commit5cf8f0eb838fac9ffb580d72bc849e125d4dea15 (patch)
treefe76d3af64502bfe4a52b6b0baeaed5c8156704f /libraries
parent1e9e19c01f85f8decfd5a233e3c911fe6cc5205e (diff)
downloadslackbuilds-5cf8f0eb838fac9ffb580d72bc849e125d4dea15.tar.gz
libraries/aspnetcore-runtime: Updated for version 3.1.13.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/aspnetcore-runtime/README4
-rw-r--r--libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild35
-rw-r--r--libraries/aspnetcore-runtime/aspnetcore-runtime.info6
-rw-r--r--libraries/aspnetcore-runtime/doinst.sh1
4 files changed, 19 insertions, 27 deletions
diff --git a/libraries/aspnetcore-runtime/README b/libraries/aspnetcore-runtime/README
index ebff9763a6..c4c5764000 100644
--- a/libraries/aspnetcore-runtime/README
+++ b/libraries/aspnetcore-runtime/README
@@ -3,7 +3,7 @@ maintained by Microsoft and the .NET community on GitHub.
It's cross-platform (supporting Windows, macOS, and Linux)
and can be used to build device, cloud, and IoT applications.
-This package contains everything you need to run a ASP.NET application.
+This package contains everything you need to run a ASP.NET application.
It includes ASP.NET Core runtime and .NET Core runtime.
If you want to build apps, install .NET Core SDK (dotnet-sdk), which
-contais these runtimes too.
+contains these runtimes too.
diff --git a/libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild b/libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild
index 5203fe054c..769e809a5c 100644
--- a/libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild
+++ b/libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild
@@ -1,5 +1,5 @@
#!/bin/sh
-#
+
# Slackware build script for aspnetcore-runtime.
#
# Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
@@ -23,16 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=aspnetcore-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 -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/aspnetcore-runtime/aspnetcore-runtime.info b/libraries/aspnetcore-runtime/aspnetcore-runtime.info
index 5f0642a4b0..354758aeec 100644
--- a/libraries/aspnetcore-runtime/aspnetcore-runtime.info
+++ b/libraries/aspnetcore-runtime/aspnetcore-runtime.info
@@ -1,10 +1,10 @@
PRGNAM="aspnetcore-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/f7c8f82a-8c47-497d-875b-2ac210599ec5/e8aea0c195efed8a9aff2ba687db8c26/aspnetcore-runtime-3.1.8-linux-x64.tar.gz"
-MD5SUM_x86_64="e116dd29ebf80792a2246c66fb729cd1"
+DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/a11a4be1-2a51-4ddc-a23a-56348ea45101/20085ae5fbefd18642babcee279a74e4/aspnetcore-runtime-3.1.13-linux-x64.tar.gz"
+MD5SUM_x86_64="7cde6a5e7e018638c249e721138a526f"
REQUIRES=""
MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com"
diff --git a/libraries/aspnetcore-runtime/doinst.sh b/libraries/aspnetcore-runtime/doinst.sh
deleted file mode 100644
index ec1d7e5165..0000000000
--- a/libraries/aspnetcore-runtime/doinst.sh
+++ /dev/null
@@ -1 +0,0 @@
-ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet