mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2025-04-04 00:03:43 +03:00
Fix PKGBUILD
This commit is contained in:
parent
25b88c1048
commit
79469cb9be
4
PKGBUILD
4
PKGBUILD
@ -7,7 +7,7 @@ pkgdesc="Yandex Music - Personal recommendations, selections for any occasion an
|
|||||||
arch=("any")
|
arch=("any")
|
||||||
url="https://github.com/cucumber-sp/yandex-music-linux"
|
url="https://github.com/cucumber-sp/yandex-music-linux"
|
||||||
license=("Unlicense")
|
license=("Unlicense")
|
||||||
depends=("electron32" "libpulse" "xdg-utils" "bash" "hicolor-icon-theme")
|
depends=("electron34" "libpulse" "xdg-utils" "bash" "hicolor-icon-theme")
|
||||||
makedepends=("p7zip" "nodejs" "asar" "jq" "python" "git")
|
makedepends=("p7zip" "nodejs" "asar" "jq" "python" "git")
|
||||||
|
|
||||||
source=("https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.37.1.exe" "git+${url}#tag=v${pkgver}")
|
source=("https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.37.1.exe" "git+${url}#tag=v${pkgver}")
|
||||||
@ -35,6 +35,6 @@ package() {
|
|||||||
install -Dm644 "$srcdir/yandex-music-linux/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 "$srcdir/yandex-music-linux/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
|
||||||
install -Dm755 "$srcdir/yandex-music-linux/templates/yandex-music.sh" "$pkgdir/usr/bin/yandex-music"
|
install -Dm755 "$srcdir/yandex-music-linux/templates/yandex-music.sh" "$pkgdir/usr/bin/yandex-music"
|
||||||
sed -i "s|%electron_path%|/usr/bin/electron32|g" "$pkgdir/usr/bin/yandex-music"
|
sed -i "s|%electron_path%|/usr/bin/electron34|g" "$pkgdir/usr/bin/yandex-music"
|
||||||
sed -i "s|%asar_path%|/usr/lib/yandex-music/yandex-music.asar|g" "$pkgdir/usr/bin/yandex-music"
|
sed -i "s|%asar_path%|/usr/lib/yandex-music/yandex-music.asar|g" "$pkgdir/usr/bin/yandex-music"
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ pkgdesc="Yandex Music - Personal recommendations, selections for any occasion an
|
|||||||
arch=("any")
|
arch=("any")
|
||||||
url="https://github.com/cucumber-sp/yandex-music-linux"
|
url="https://github.com/cucumber-sp/yandex-music-linux"
|
||||||
license=("Unlicense")
|
license=("Unlicense")
|
||||||
depends=("electron32" "libpulse" "xdg-utils" "bash" "hicolor-icon-theme")
|
depends=("electron34" "libpulse" "xdg-utils" "bash" "hicolor-icon-theme")
|
||||||
makedepends=("p7zip" "nodejs" "asar" "jq" "python" "git")
|
makedepends=("p7zip" "nodejs" "asar" "jq" "python" "git")
|
||||||
|
|
||||||
source=("%exe_link%" "git+${url}#tag=v${pkgver}")
|
source=("%exe_link%" "git+${url}#tag=v${pkgver}")
|
||||||
@ -35,6 +35,6 @@ package() {
|
|||||||
install -Dm644 "$srcdir/yandex-music-linux/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 "$srcdir/yandex-music-linux/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
|
||||||
install -Dm755 "$srcdir/yandex-music-linux/templates/yandex-music.sh" "$pkgdir/usr/bin/yandex-music"
|
install -Dm755 "$srcdir/yandex-music-linux/templates/yandex-music.sh" "$pkgdir/usr/bin/yandex-music"
|
||||||
sed -i "s|%electron_path%|/usr/bin/electron32|g" "$pkgdir/usr/bin/yandex-music"
|
sed -i "s|%electron_path%|/usr/bin/electron34|g" "$pkgdir/usr/bin/yandex-music"
|
||||||
sed -i "s|%asar_path%|/usr/lib/yandex-music/yandex-music.asar|g" "$pkgdir/usr/bin/yandex-music"
|
sed -i "s|%asar_path%|/usr/lib/yandex-music/yandex-music.asar|g" "$pkgdir/usr/bin/yandex-music"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user