summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-11-03 19:25:10 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-05 21:15:18 +0700
commitb90089351b6a9d61e3eb8b9fadee3a75363c8526 (patch)
tree324427397f6059b1169eec956fd09dc60cd1c755
parent3bb6a42393ef9945f4926bb6d6c0a7c82bb4262b (diff)
downloadslackbuilds-b90089351b6a9d61e3eb8b9fadee3a75363c8526.tar.gz
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 <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libldm/libldm.SlackBuild4
-rw-r--r--libraries/libldm/libldm.info2
2 files changed, 3 insertions, 3 deletions
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=""