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>
This commit is contained in:
B. Watson 2022-02-18 14:53:59 -05:00 committed by Willy Sudiarto Raharjo
parent b85b8d4b71
commit 51422af73f
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 11 additions and 9 deletions

View File

@ -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 .

View File

@ -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"