-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swtiched to .asar + PKGBUILD generation
- Loading branch information
1 parent
9f68480
commit 9bf42b7
Showing
5 changed files
with
61 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## WARRANTIES OR CONDITIONS | ||
|
||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
pkgname=yandexmusic | ||
pkgver=%version% | ||
pkgrel=1 | ||
pkgdesc="Yandex Music Client" | ||
arch=('any') | ||
url="https://github.com/cucumber-sp/yandex-music-linux" | ||
license=('custom') | ||
depends=('electron' 'libpulse') | ||
|
||
source=('./yandexmusic.asar' './yandexmusic.desktop' './LICENSE.md') | ||
sha256sums=('%asar_hash%' '%desktop_hash%' 'SKIP') | ||
|
||
package() { | ||
|
||
mkdir -p "$pkgdir/usr/lib/yandexmusic" | ||
mkdir -p "$pkgdir/usr/share/applications" | ||
mkdir -p "$pkgdir/usr/bin" | ||
|
||
install -Dm644 "$srcdir/yandexmusic.asar" "$pkgdir/usr/lib/yandexmusic/yandexmusic.asar" | ||
install -Dm644 "$srcdir/yandexmusic.desktop" "$pkgdir/usr/share/applications/yandexmusic.desktop" | ||
install -Dm644 "$srcdir/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
|
||
# Create a script to launch the app with Electron | ||
echo "#!/bin/sh" > "$pkgdir/usr/bin/yandexmusic" | ||
echo "electron /usr/lib/yandexmusic/yandexmusic.asar" >> "$pkgdir/usr/bin/yandexmusic" | ||
chmod 755 "$pkgdir/usr/bin/yandexmusic" | ||
} |
File renamed without changes.