summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Andrew Clemons2022-04-17 00:28:17 +0200
committer Willy Sudiarto Raharjo2022-04-23 20:47:14 +0200
commit2c070ebb43fa1481969b588ea3d1c3357ff738e6 (patch)
tree59964a6f74942f2837e6aedb225abd36af6bb2c7 /python
parentd13a5dd3de9deebb49103d435cb0fff5722dcc2a (diff)
downloadslackbuilds-2c070ebb43fa1481969b588ea3d1c3357ff738e6.tar.gz
python/python-xkbcommon: Fix github tarball handling.
Use the download URL which matches the content-disposition. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-xkbcommon/python-xkbcommon.SlackBuild8
-rw-r--r--python/python-xkbcommon/python-xkbcommon.info2
2 files changed, 4 insertions, 6 deletions
diff --git a/python/python-xkbcommon/python-xkbcommon.SlackBuild b/python/python-xkbcommon/python-xkbcommon.SlackBuild
index 85f0e6048a..a48de5f959 100644
--- a/python/python-xkbcommon/python-xkbcommon.SlackBuild
+++ b/python/python-xkbcommon/python-xkbcommon.SlackBuild
@@ -30,8 +30,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=xkbcommon
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -71,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf python-$SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd python-$SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/python/python-xkbcommon/python-xkbcommon.info b/python/python-xkbcommon/python-xkbcommon.info
index 8248431f3b..898f8f356a 100644
--- a/python/python-xkbcommon/python-xkbcommon.info
+++ b/python/python-xkbcommon/python-xkbcommon.info
@@ -1,7 +1,7 @@
PRGNAM="python-xkbcommon"
VERSION="0.4"
HOMEPAGE="https://github.com/sde1000/python-xkbcommon"
-DOWNLOAD="https://github.com/sde1000/python-xkbcommon/archive/v0.4/xkbcommon-0.4.tar.gz"
+DOWNLOAD="https://github.com/sde1000/python-xkbcommon/archive/v0.4/python-xkbcommon-0.4.tar.gz"
MD5SUM="e541e2d09a092a13330da3c3ba8ff79f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""