From 200c0829813ed090da01481d002a3d01c176ebdc Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Tue, 30 Jan 2024 18:15:10 +0300 Subject: [PATCH] mkdir error fix --- PKGBUILD | 2 +- repack.sh | 2 +- templates/PKGBUILD | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 603254d..1a80f53 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,7 +26,7 @@ package() { mkdir -p "$pkgdir/usr/share/applications" mkdir -p "$pkgdir/usr/bin" - install -Dm644 "$srcdir/yandex-music-linux/out/yandexmusic.asar" "$pkgdir/usr/lib/yandexmusic/yandexmusic.asar" + install -Dm644 "$srcdir/out/yandexmusic.asar" "$pkgdir/usr/lib/yandexmusic/yandexmusic.asar" install -Dm644 "$srcdir/yandex-music-linux/templates/desktop" "$pkgdir/usr/share/applications/yandexmusic.desktop" install -Dm644 "$srcdir/yandex-music-linux/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 "$srcdir/yandex-music-linux/templates/icon.png" "$pkgdir/usr/share/pixmaps/yandexmusic.png" diff --git a/repack.sh b/repack.sh index 4c64d42..ef3a92e 100755 --- a/repack.sh +++ b/repack.sh @@ -108,7 +108,7 @@ if [ -n "$extract_only" ]; then fi cd ../ -mkdir out +mkdir -p out echo "Packing" asar pack "./app" "./out/yandexmusic.asar" diff --git a/templates/PKGBUILD b/templates/PKGBUILD index 4e0a85c..d61bc9e 100644 --- a/templates/PKGBUILD +++ b/templates/PKGBUILD @@ -26,7 +26,7 @@ package() { mkdir -p "$pkgdir/usr/share/applications" mkdir -p "$pkgdir/usr/bin" - install -Dm644 "$srcdir/yandex-music-linux/out/yandexmusic.asar" "$pkgdir/usr/lib/yandexmusic/yandexmusic.asar" + install -Dm644 "$srcdir/out/yandexmusic.asar" "$pkgdir/usr/lib/yandexmusic/yandexmusic.asar" install -Dm644 "$srcdir/yandex-music-linux/templates/desktop" "$pkgdir/usr/share/applications/yandexmusic.desktop" install -Dm644 "$srcdir/yandex-music-linux/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 "$srcdir/yandex-music-linux/templates/icon.png" "$pkgdir/usr/share/pixmaps/yandexmusic.png"