diff options
author | Erik Hanson <erik@slackbuilds.org> | 2022-11-06 08:51:49 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-12 22:32:56 +0700 |
commit | 27840ee8d87b54067d128c5e0faab38e36b81472 (patch) | |
tree | 16a507c36f3a8f36372875e672a5e804f0912032 /audio/pasystray | |
parent | 03684c3edf8017bb8cedb4b9aa4b16b41574d374 (diff) |
audio/pasystray: Fix Slackbuild and download.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/pasystray')
-rw-r--r-- | audio/pasystray/pasystray.SlackBuild | 24 | ||||
-rw-r--r-- | audio/pasystray/pasystray.info | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/audio/pasystray/pasystray.SlackBuild b/audio/pasystray/pasystray.SlackBuild index 96bbf8991a5c..04dc4a3ad55a 100644 --- a/audio/pasystray/pasystray.SlackBuild +++ b/audio/pasystray/pasystray.SlackBuild @@ -26,18 +26,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pasystray VERSION=${VERSION:-0.8.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# 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-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -50,6 +42,14 @@ 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-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -69,9 +69,9 @@ set -ue rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$PRGNAM-$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/audio/pasystray/pasystray.info b/audio/pasystray/pasystray.info index 3fdc1f32ca2e..d4a35cd7e6b7 100644 --- a/audio/pasystray/pasystray.info +++ b/audio/pasystray/pasystray.info @@ -1,7 +1,7 @@ PRGNAM="pasystray" VERSION="0.8.0" HOMEPAGE="https://github.com/christophgysin/pasystray" -DOWNLOAD="https://github.com/christophgysin/pasystray/archive/refs/tags/0.8.0.tar.gz" +DOWNLOAD="https://github.com/christophgysin/pasystray/archive/0.8.0/pasystray-0.8.0.tar.gz" MD5SUM="7fd769d2a476e2af1dac1ddfba658d8a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |