diff options
author | Reza Talebi <reza.talebi.73@outlook.com> | 2021-04-10 03:29:56 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-10 17:04:43 +0700 |
commit | d27397ecf736f963c4278b43bd4e7c4fe54d0b6b (patch) | |
tree | 7db94198684b082dbc68378fd2175eb60e8c7a7b | |
parent | 5cf8f0eb838fac9ffb580d72bc849e125d4dea15 (diff) | |
download | slackbuilds-d27397ecf736f963c4278b43bd4e7c4fe54d0b6b.tar.gz |
development/dotnet-sdk: Updated for version 3.1.407.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/dotnet-sdk/doinst.sh | 1 | ||||
-rw-r--r-- | development/dotnet-sdk/dotnet-sdk.SlackBuild | 35 | ||||
-rw-r--r-- | development/dotnet-sdk/dotnet-sdk.info | 6 |
3 files changed, 17 insertions, 25 deletions
diff --git a/development/dotnet-sdk/doinst.sh b/development/dotnet-sdk/doinst.sh deleted file mode 100644 index ec1d7e5165..0000000000 --- a/development/dotnet-sdk/doinst.sh +++ /dev/null @@ -1 +0,0 @@ -ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet diff --git a/development/dotnet-sdk/dotnet-sdk.SlackBuild b/development/dotnet-sdk/dotnet-sdk.SlackBuild index 6bb5bd96cb..5154cfcf75 100644 --- a/development/dotnet-sdk/dotnet-sdk.SlackBuild +++ b/development/dotnet-sdk/dotnet-sdk.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh -# + # Slackware build script for dotnet-sdk. # # Copyright 2019 Reza Talebi, Shahin Shahr, Iran. @@ -23,16 +23,19 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dotnet-sdk -VERSION=${VERSION:-3.1.402} +VERSION=${VERSION:-3.1.407} 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/development/dotnet-sdk/dotnet-sdk.info b/development/dotnet-sdk/dotnet-sdk.info index 5bc625a397..624b42d8cb 100644 --- a/development/dotnet-sdk/dotnet-sdk.info +++ b/development/dotnet-sdk/dotnet-sdk.info @@ -1,10 +1,10 @@ PRGNAM="dotnet-sdk" -VERSION="3.1.402" +VERSION="3.1.407" HOMEPAGE="https://dotnet.microsoft.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/f01e3d97-c1c3-4635-bc77-0c893be36820/6ec6acabc22468c6cc68b61625b14a7d/dotnet-sdk-3.1.402-linux-x64.tar.gz" -MD5SUM_x86_64="53f4e617ba3d006fb7249759aefc186f" +DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/ab82011d-2549-4e23-a8a9-a2b522a31f27/6e615d6177e49c3e874d05ee3566e8bf/dotnet-sdk-3.1.407-linux-x64.tar.gz" +MD5SUM_x86_64="fd1e8043fdbc96eb7a41cf896d5474b8" REQUIRES="" MAINTAINER="Reza Talebi" EMAIL="reza.talebi.73@outlook.com" |