diff options
author | Andrzej Telszewski <andrzej@telszewski.com> | 2022-03-07 04:33:43 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 09:46:13 +0700 |
commit | 7a7395714ff581c83a4870f6d7ad59c461499279 (patch) | |
tree | ec1bed8be6f9c077a9fc80a9304d64e92aed22f7 /network/rtl8821ce | |
parent | a6d434acb558f863e47f1d6fd556c3e6f46b05dc (diff) |
network/rtl8821ce: Delete git2tarxz.sh.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/rtl8821ce')
-rw-r--r-- | network/rtl8821ce/git2tarxz.sh | 66 | ||||
-rw-r--r-- | network/rtl8821ce/rtl8821ce.SlackBuild | 4 | ||||
-rw-r--r-- | network/rtl8821ce/rtl8821ce.info | 6 |
3 files changed, 5 insertions, 71 deletions
diff --git a/network/rtl8821ce/git2tarxz.sh b/network/rtl8821ce/git2tarxz.sh deleted file mode 100644 index 93cbb5c498349..0000000000000 --- a/network/rtl8821ce/git2tarxz.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -# Create source tarball from git repo, with generated version number. - -# Takes one optional argument, which is the commit or tag to create a -# tarball of. With no arg, HEAD is used. - -# Version number example: 0.0.1+20200227_ad7ec17 - -# Notes: - -# Do not use this if you're packaging a release. - -# This script doesn't need to be run as root. It does need to be able -# to write to the current directory it's run from. - -# Running this script twice for the same commit will NOT give identical -# tarballs, even if the contents are identical. This is because tar -# includes the current time in a newly-created tarball (plus there may -# be other git-related reasons). - -# Once you've generated a tarball, you'll still need a place to host it. -# Ask on the mailing list, if you don't have your own web server to -# play with. - -## Config: -# Github project and user names: -PRGNAM=rtl8821ce -CLONE_URL=https://github.com/tomaspinho/rtl8821ce/ - -# For non-github projects, you might not need GITUSER, in which case -# just omit it from the script. - -## End of config. - -set -e - -GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX ) -rm -rf $GITDIR -git clone $CLONE_URL $GITDIR - -CWD="$( pwd )" -cd $GITDIR - -if [ "$1" != "" ]; then - git reset --hard "$1" || exit 1 -fi - -GIT_SHA=$( git rev-parse --short HEAD ) - -DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 ) - -VERSION=${DATE}_${GIT_SHA} - -rm -rf .git -find . -name .gitignore -print0 | xargs -0 rm -f - -cd "$CWD" -rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz -mv $GITDIR $PRGNAM-$VERSION -tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION - -echo -echo "Created tarball: $PRGNAM-$VERSION.tar.xz" -echo "VERSION=\"$VERSION\"" -echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\"" diff --git a/network/rtl8821ce/rtl8821ce.SlackBuild b/network/rtl8821ce/rtl8821ce.SlackBuild index 5c3f74b241228..dc2164a399162 100644 --- a/network/rtl8821ce/rtl8821ce.SlackBuild +++ b/network/rtl8821ce/rtl8821ce.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Realtek RTL8821CE Driver -# Copyright 2020 Andrzej Telszewski, Szczecin +# Copyright 2022 Andrzej Telszewski, Koszalin # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -58,7 +58,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . diff --git a/network/rtl8821ce/rtl8821ce.info b/network/rtl8821ce/rtl8821ce.info index d1a0ad4e9459c..8f074f9019f00 100644 --- a/network/rtl8821ce/rtl8821ce.info +++ b/network/rtl8821ce/rtl8821ce.info @@ -1,10 +1,10 @@ PRGNAM="rtl8821ce" VERSION="20211119_ca204c6" HOMEPAGE="https://github.com/tomaspinho/rtl8821ce/" -DOWNLOAD="https://slackware.uk/~urchlay/src/rtl8821ce-20211119_ca204c6.tar.xz" -MD5SUM="5a5a15d526c958e94ff42332a7a15405" +DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/rtl8821ce/rtl8821ce-20211119_ca204c6.tar.gz" +MD5SUM="d40fb08c28810d00a26ed3498a85f2f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Andrzej Telszewski" -EMAIL="atelszewski@gmail.com" +EMAIL="andrzej@telszewski.com" |