From b90089351b6a9d61e3eb8b9fadee3a75363c8526 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Thu, 3 Nov 2022 19:25:10 +0900 Subject: libraries/libldm: Fix github tarball handling. https://slackbuilds.org/GITHUB_URLs.txt This avoids having differently named tarballs and src directories. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- libraries/libldm/libldm.SlackBuild | 4 ++-- libraries/libldm/libldm.info | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries') diff --git a/libraries/libldm/libldm.SlackBuild b/libraries/libldm/libldm.SlackBuild index 055443b2c9..53a073e7ef 100644 --- a/libraries/libldm/libldm.SlackBuild +++ b/libraries/libldm/libldm.SlackBuild @@ -72,8 +72,8 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ diff --git a/libraries/libldm/libldm.info b/libraries/libldm/libldm.info index 558265dba3..d9a5efabd2 100644 --- a/libraries/libldm/libldm.info +++ b/libraries/libldm/libldm.info @@ -1,7 +1,7 @@ PRGNAM="libldm" VERSION="0.2.5" HOMEPAGE="https://github.com/mdbooth/libldm" -DOWNLOAD="https://github.com/mdbooth/libldm/archive/libldm-0.2.5/libldm-0.2.5.tar.gz" +DOWNLOAD="https://github.com/mdbooth/libldm/archive/libldm-0.2.5/libldm-libldm-0.2.5.tar.gz" MD5SUM="ab38c1a47275eebb9c9cbcaf16220636" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3