system/tpe-kmod: Fix download URL.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-09 16:40:00 -05:00 committed by Willy Sudiarto Raharjo
parent e6e1f80234
commit 8d08c0e2c5
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 6 deletions

View File

@ -22,6 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220209 bkw: Modified by SlackBuilds.org. Fix the github URL/filename
# mismatch. However, this is still *broken* because our kernel on 15.0 is
# too new for it.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tpe-kmod
@ -40,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-${VERSION}_${KERNVER//-/_}-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -54,12 +55,14 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
SRCNAM=tpe-lkm
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd tpe-lkm-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View File

@ -1,7 +1,7 @@
PRGNAM="tpe-kmod"
VERSION="2.0.4"
HOMEPAGE="https://github.com/cormander/tpe-lkm"
DOWNLOAD="https://github.com/cormander/tpe-lkm/archive/2.0.4/tpe-kmod-2.0.4.tar.gz"
DOWNLOAD="https://github.com/cormander/tpe-lkm/archive/2.0.4/tpe-lkm-2.0.4.tar.gz"
MD5SUM="e90cd220d299ca9adde7206c7d6fdf8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""