This commit is contained in:
Qingxu 2021-01-29 23:37:33 +08:00
parent 905148643a
commit a6361a74da
2 changed files with 26 additions and 20 deletions

View file

@ -1,14 +1,14 @@
pkgbase = yesplaymusic
pkgdesc = A pretty third-party Netease Cloud Music
pkgver = 0.3.1
pkgdesc = A third party music application for Netease Music
pkgver = 0.3.2
pkgrel = 1
url = https://github.com/qier222/YesPlayMusic/
url = https://github.com/qier222/YesPlayMusic
arch = x86_64
license = custom
depends = nss
license = MIT
depends = gtk3
source = https://github.com/qier222/YesPlayMusic/releases/download/0.3.1/YesPlayMusic_0.3.1_amd64.deb
md5sums = 3761bcb8c5156e9ab2c856c99e9562b6
depends = nss
source = YesPlayMusic-0.3.2.pkg.tar.zst::https://github.com/qier222/YesPlayMusic/releases/download/v0.3.2/YesPlayMusic-0.3.2.pacman
md5sums = efe53d1346ab3fc5706e44870a00657a
pkgname = yesplaymusic

View file

@ -1,23 +1,29 @@
# Maintainer: Qingxu
pkgname=yesplaymusic
pkgver=0.3.1
pkgver=0.3.2
pkgrel=1
pkgdesc="A pretty third-party Netease Cloud Music"
pkgdesc="A third party music application for Netease Music"
arch=("x86_64")
url="https://github.com/qier222/YesPlayMusic/"
license=('custom')
depends=(
'nss'
'gtk3'
url="https://github.com/qier222/YesPlayMusic"
license=("MIT")
depends=(
"gtk3"
"nss"
)
source=(
"https://github.com/qier222/YesPlayMusic/releases/download/${pkgver}/YesPlayMusic_${pkgver}_amd64.deb"
"YesPlayMusic-${pkgver}.pkg.tar.zst::https://github.com/qier222/YesPlayMusic/releases/download/v${pkgver}/YesPlayMusic-${pkgver}.pacman"
)
md5sums=('3761bcb8c5156e9ab2c856c99e9562b6')
DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")
md5sums=('efe53d1346ab3fc5706e44870a00657a')
package() {
cd ${srcdir}
tar -xvf data.tar.xz -C ${pkgdir}
cd ${srcdir}
tar -I zstd -xvf YesPlayMusic-${pkgver}.pkg.tar.zst -C ${pkgdir}
# SUID chrome-sandbox for Electron 5+
chmod 4755 '/opt/YesPlayMusic/chrome-sandbox'
rm -f ${pkgdir}/.PKGINFO ${pkgdir}/.MTREE ${pkgdir}/.INSTALL
mkdir ${pkgdir}/usr/bin
ln -sf '/opt/YesPlayMusic/yesplaymusic' "${pkgdir}/usr/bin/yesplaymusic"
}