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>
This commit is contained in:
Reza Talebi 2021-04-10 03:18:09 +01:00 committed by Willy Sudiarto Raharjo
parent 1e9e19c01f
commit 5cf8f0eb83
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 19 additions and 27 deletions

View file

@ -3,7 +3,7 @@ maintained by Microsoft and the .NET community on GitHub.
It's cross-platform (supporting Windows, macOS, and Linux) It's cross-platform (supporting Windows, macOS, and Linux)
and can be used to build device, cloud, and IoT applications. 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. It includes ASP.NET Core runtime and .NET Core runtime.
If you want to build apps, install .NET Core SDK (dotnet-sdk), which If you want to build apps, install .NET Core SDK (dotnet-sdk), which
contais these runtimes too. contains these runtimes too.

View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
#
# Slackware build script for aspnetcore-runtime. # Slackware build script for aspnetcore-runtime.
# #
# Copyright 2019 Reza Talebi, Shahin Shahr, Iran. # Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
@ -23,16 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=aspnetcore-runtime PRGNAM=aspnetcore-runtime
VERSION=${VERSION:-3.1.8} VERSION=${VERSION:-3.1.13}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in ARCH=$( uname -m )
i?86) ARCH=i586 ;; fi
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; if [ "$ARCH" = "x86_64" ]; then
esac ARCHITECTURE="x64"
else
echo "Package for $ARCH architecture is not available."
exit 1
fi fi
CWD=$(pwd) CWD=$(pwd)
@ -40,20 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e 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 rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
@ -64,12 +55,14 @@ mkdir -p usr/share/dotnet
tar -zxf $CWD/$PRGNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet tar -zxf $CWD/$PRGNAM-${VERSION}-linux-${ARCHITECTURE}.tar.gz -C usr/share/dotnet
chown -R root:root 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 mkdir -p usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG 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}

View file

@ -1,10 +1,10 @@
PRGNAM="aspnetcore-runtime" PRGNAM="aspnetcore-runtime"
VERSION="3.1.8" VERSION="3.1.13"
HOMEPAGE="https://dotnet.microsoft.com/" HOMEPAGE="https://dotnet.microsoft.com/"
DOWNLOAD="UNSUPPORTED" DOWNLOAD="UNSUPPORTED"
MD5SUM="" 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" 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="e116dd29ebf80792a2246c66fb729cd1" MD5SUM_x86_64="7cde6a5e7e018638c249e721138a526f"
REQUIRES="" REQUIRES=""
MAINTAINER="Reza Talebi" MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com" EMAIL="reza.talebi.73@outlook.com"

View file

@ -1 +0,0 @@
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet