2021-03-06 15:59:52 +01:00
|
|
|
# Maintainer: Clansty <i@gao4.pw>
|
2021-02-03 13:00:11 +01:00
|
|
|
|
2021-03-06 15:59:52 +01:00
|
|
|
pkgname=yesplaymusic-electron
|
2021-05-22 17:09:53 +02:00
|
|
|
pkgver=0.3.8
|
|
|
|
pkgrel=1
|
2021-03-06 15:59:52 +01:00
|
|
|
pkgdesc="A third party music application for Netease Music. Using the system electron"
|
|
|
|
arch=("any")
|
2021-01-29 16:37:33 +01:00
|
|
|
url="https://github.com/qier222/YesPlayMusic"
|
|
|
|
license=("MIT")
|
|
|
|
depends=(
|
|
|
|
"gtk3"
|
|
|
|
"nss"
|
2021-03-06 15:59:52 +01:00
|
|
|
"electron"
|
2021-01-28 19:47:30 +01:00
|
|
|
)
|
2021-02-03 13:00:11 +01:00
|
|
|
optdepends=(
|
|
|
|
'c-ares'
|
|
|
|
'ffmpeg'
|
|
|
|
'http-parser'
|
|
|
|
'libevent'
|
|
|
|
'libvpx'
|
|
|
|
'libxslt'
|
|
|
|
'minizip'
|
|
|
|
're2'
|
|
|
|
'snappy'
|
|
|
|
'libnotify'
|
|
|
|
'libappindicator-gtk3'
|
|
|
|
)
|
2021-04-28 16:55:20 +02:00
|
|
|
provides=('yesplaymusic')
|
|
|
|
conflicts=('yesplaymusic')
|
|
|
|
replaces=('yesplaymusic')
|
2021-01-28 19:47:30 +01:00
|
|
|
source=(
|
2021-02-03 13:00:11 +01:00
|
|
|
"YesPlayMusic-${pkgver}.pacman::https://github.com/qier222/YesPlayMusic/releases/download/v${pkgver}/YesPlayMusic-${pkgver}.pacman"
|
2021-03-06 15:59:52 +01:00
|
|
|
yesplaymusic.desktop
|
2021-04-28 16:55:20 +02:00
|
|
|
yesplaymusic
|
2021-01-28 19:47:30 +01:00
|
|
|
)
|
2021-05-22 17:09:53 +02:00
|
|
|
md5sums=('993c45c46149f095e590f6d14ab35875'
|
2021-04-28 16:55:20 +02:00
|
|
|
'ade11d60b069c369b57b5d1e09066519'
|
|
|
|
'426a2f7143ad4d0f5d060ba01e349518')
|
2021-01-28 19:47:30 +01:00
|
|
|
|
|
|
|
package() {
|
2021-03-06 15:59:52 +01:00
|
|
|
cp -r "usr" "${pkgdir}"
|
|
|
|
rm "${pkgdir}/usr/share/applications/yesplaymusic.desktop"
|
|
|
|
install -d "${pkgdir}/usr/share"
|
|
|
|
install -Dm644 -t "${pkgdir}/usr/share/applications" "yesplaymusic.desktop"
|
|
|
|
install -Dm644 "opt/YesPlayMusic/resources/app.asar" "${pkgdir}/usr/share/yesplaymusic.asar"
|
2021-04-28 16:55:20 +02:00
|
|
|
install -Dm755 "yesplaymusic" "${pkgdir}/usr/bin/yesplaymusic"
|
2021-01-28 19:47:30 +01:00
|
|
|
}
|