2.6.0 release
parent
c1a999af2f
commit
b6addedda8
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = tidal-hifi-git
|
pkgbase = tidal-hifi-git
|
||||||
pkgdesc = The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm
|
pkgdesc = The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm
|
||||||
pkgver = 2.5.0.r0.g662ef6a
|
pkgver = 2.6.0.r0.g0dec967
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://github.com/Mastermindzh/tidal-hifi
|
url = https://github.com/Mastermindzh/tidal-hifi
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom:MIT
|
license = custom:MIT
|
||||||
|
|
29
PKGBUILD
29
PKGBUILD
|
@ -1,8 +1,8 @@
|
||||||
# Maintainer: Rick van Lieshout <info@rickvanlieshout.com>
|
# Maintainer: Rick van Lieshout <info@rickvanlieshout.com>
|
||||||
|
|
||||||
pkgname=tidal-hifi-git
|
pkgname=tidal-hifi-git
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgver=2.5.0.r0.g662ef6a
|
pkgver=2.6.0.r0.g0dec967
|
||||||
pkgdesc="The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm"
|
pkgdesc="The web version of listen.tidal.com running in electron with hifi support thanks to widevine. If the install fails use nvm to temporarily downgrade npm"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://github.com/Mastermindzh/tidal-hifi"
|
url="https://github.com/Mastermindzh/tidal-hifi"
|
||||||
|
@ -22,15 +22,22 @@ getnvm() {
|
||||||
then
|
then
|
||||||
echo "nvm command found, using system version.."
|
echo "nvm command found, using system version.."
|
||||||
else
|
else
|
||||||
echo "nvm could not be found, installing"
|
|
||||||
unset npm_config_prefix
|
if test -f "/usr/share/nvm/init-nvm.sh"
|
||||||
folderName=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 12)
|
then
|
||||||
git clone https://aur.archlinux.org/nvm.git "$folderName"
|
echo "found init-nvm.sh in /usr/share/nvm, sourcing..."
|
||||||
cd "$folderName"
|
source "/usr/share/nvm/init-nvm.sh"
|
||||||
makepkg -si --asdeps
|
else
|
||||||
source /usr/share/nvm/init-nvm.sh
|
echo "nvm could not be found, installing"
|
||||||
cd ../
|
unset npm_config_prefix
|
||||||
rm -rf "$folderName"
|
folderName=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 12)
|
||||||
|
git clone https://aur.archlinux.org/nvm.git "$folderName"
|
||||||
|
cd "$folderName"
|
||||||
|
makepkg -si --asdeps
|
||||||
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
cd ../
|
||||||
|
rm -rf "$folderName"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue