From 8ad4f041b4e649953072315908249ed3b7d56835 Mon Sep 17 00:00:00 2001
From: Andrew Clemons <andrew.clemons@gmail.com>
Date: Sun, 30 Apr 2023 15:03:17 +0900
Subject: audio/pulsemixer: Fix github tarball handling.

https://slackbuilds.org/GITHUB_URLs.txt

This avoids having differently named tarballs based on whether the
client respects content disposition headers or not.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
---
 audio/pulsemixer/pulsemixer.SlackBuild | 2 +-
 audio/pulsemixer/pulsemixer.info       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'audio')

diff --git a/audio/pulsemixer/pulsemixer.SlackBuild b/audio/pulsemixer/pulsemixer.SlackBuild
index 9b79dc1932267..07ec1d071444c 100644
--- a/audio/pulsemixer/pulsemixer.SlackBuild
+++ b/audio/pulsemixer/pulsemixer.SlackBuild
@@ -67,7 +67,7 @@ rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
 rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
 cd $PRGNAM-$VERSION
 chown -R root:root .
 find -L . \
diff --git a/audio/pulsemixer/pulsemixer.info b/audio/pulsemixer/pulsemixer.info
index 878860de430b9..8fec25e1db3d0 100644
--- a/audio/pulsemixer/pulsemixer.info
+++ b/audio/pulsemixer/pulsemixer.info
@@ -1,7 +1,7 @@
 PRGNAM="pulsemixer"
 VERSION="1.5.1"
 HOMEPAGE="https://github.com/GeorgeFilipkin/pulsemixer"
-DOWNLOAD="https://github.com/GeorgeFilipkin/pulsemixer/archive/refs/tags/1.5.1.tar.gz"
+DOWNLOAD="https://github.com/GeorgeFilipkin/pulsemixer/archive/1.5.1/pulsemixer-1.5.1.tar.gz"
 MD5SUM="5adf911fec879ba247a5a8d0c561564f"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-- 
cgit v1.2.3