summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-18 14:53:59 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-19 12:09:29 +0700
commit51422af73f9679c26a901ae4d8ee08fc2fcefb03 (patch)
treea706af450187bdab95260a370d9bd689e76a7204
parentb85b8d4b71ac8aac1c50c6b44db40fbf977184a1 (diff)
downloadslackbuilds-51422af73f9679c26a901ae4d8ee08fc2fcefb03.tar.gz
audio/google-musicmanager: Updated for version 1.0.467.4929.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/google-musicmanager/google-musicmanager.SlackBuild16
-rw-r--r--audio/google-musicmanager/google-musicmanager.info4
2 files changed, 11 insertions, 9 deletions
diff --git a/audio/google-musicmanager/google-musicmanager.SlackBuild b/audio/google-musicmanager/google-musicmanager.SlackBuild
index 087c56f22e..29ed1977c5 100644
--- a/audio/google-musicmanager/google-musicmanager.SlackBuild
+++ b/audio/google-musicmanager/google-musicmanager.SlackBuild
@@ -30,7 +30,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=google-musicmanager
-VERSION=${VERSION:-1.0.243.1116}
+VERSION=${VERSION:-1.0.467.4929}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +41,6 @@ case "$(uname -m)" in
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
-# 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
@@ -74,13 +71,18 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/$PRGNAM-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv
+ar p $CWD/$PRGNAM-${RELEASE}_current_${DEBARCH}.deb data.tar.xz | tar xvJ
+
+# 20220218 bkw: absolute path symlink in deb, no good.
+rm -f usr/bin/$PRGNAM
+ln -s ../../opt/google/musicmanager/$PRGNAM usr/bin/$PRGNAM
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Make sure top-level perms are correct:
chmod 0755 .
diff --git a/audio/google-musicmanager/google-musicmanager.info b/audio/google-musicmanager/google-musicmanager.info
index 01ed185778..181726ae14 100644
--- a/audio/google-musicmanager/google-musicmanager.info
+++ b/audio/google-musicmanager/google-musicmanager.info
@@ -1,10 +1,10 @@
PRGNAM="google-musicmanager"
-VERSION="1.0.243.1116"
+VERSION="1.0.467.4929"
HOMEPAGE="http://music.google.com"
DOWNLOAD="https://dl.google.com/linux/direct/google-musicmanager-beta_current_i386.deb"
MD5SUM="d8a6a144e2ee7fc475e02c04745a442d"
DOWNLOAD_x86_64="https://dl.google.com/linux/direct/google-musicmanager-beta_current_amd64.deb"
-MD5SUM_x86_64="4537c0f2bdf57eee7d576b7b0a42d083"
+MD5SUM_x86_64="317118d31f0e1d1a2b4cd50fd8cdd61d"
REQUIRES=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"