2.8.1
parent
656b4fb92e
commit
36ae927289
2
.SRCINFO
2
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
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
|
||||
pkgver = 2.8.0.r0.g89589b7
|
||||
pkgver = 2.8.1.r0.g7f5f5e7
|
||||
pkgrel = 1
|
||||
url = https://github.com/Mastermindzh/tidal-hifi
|
||||
arch = x86_64
|
||||
|
|
16
PKGBUILD
16
PKGBUILD
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=tidal-hifi-git
|
||||
pkgrel=1
|
||||
pkgver=2.8.0.r0.g89589b7
|
||||
pkgver=2.8.1.r0.g7f5f5e7
|
||||
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)
|
||||
url="https://github.com/Mastermindzh/tidal-hifi"
|
||||
|
@ -13,9 +13,9 @@ provides=(tidal-hifi)
|
|||
conflicts=(tidal-hifi)
|
||||
|
||||
source=("git+https://github.com/Mastermindzh/tidal-hifi.git"
|
||||
"tidal-hifi.desktop")
|
||||
"tidal-hifi.desktop")
|
||||
sha512sums=('SKIP'
|
||||
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
|
||||
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
|
||||
|
||||
getnvm() {
|
||||
if command -v nvm
|
||||
|
@ -33,7 +33,7 @@ getnvm() {
|
|||
unset npm_config_prefix
|
||||
folderName=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 12)
|
||||
git clone https://aur.archlinux.org/nvm.git "$folderName"
|
||||
cd "$folderName"
|
||||
cd "$folderName" || exit
|
||||
makepkg -si --asdeps
|
||||
source /usr/share/nvm/init-nvm.sh
|
||||
cd ../
|
||||
|
@ -43,14 +43,14 @@ getnvm() {
|
|||
}
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
cd "${srcdir}/${pkgname%-git}" || exit
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
getnvm
|
||||
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
cd "${srcdir}/${pkgname%-git}" || exit
|
||||
|
||||
# use correct nodejs/npm versions
|
||||
nvm install lts/gallium
|
||||
|
@ -63,14 +63,14 @@ prepare() {
|
|||
build() {
|
||||
getnvm
|
||||
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
cd "${srcdir}/${pkgname%-git}" || exit
|
||||
|
||||
# We are not using the systems Electron as we need castlab's Electron.
|
||||
npm run build-arch
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
cd "${srcdir}/${pkgname%-git}" || exit
|
||||
|
||||
install -d "${pkgdir}/opt/tidal-hifi/" "${pkgdir}/usr/bin" "${pkgdir}/usr/share/doc" "${pkgdir}/usr/share/licenses"
|
||||
|
||||
|
|
Loading…
Reference in New Issue