blob: 4abca20955275e8bab5a33ca64bef7301ec44a21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Ayatale <ayatale@qq.com>
pkgname=zy-player-appimage
pkgver=2.8.8
_pkgver=$(echo $pkgver | sed 's/\./-/3')
pkgrel=3
pkgdesc="跨平台视频资源播放器, 简洁免费无广告"
arch=("x86_64")
url="http://zyplayer.fun/"
license=('MIT')
depends=('electron13')
provides=('zy-player')
options=(!strip)
source=("https://github.com/Hunlongyu/ZY-Player/releases/download/v${_pkgver}/ZY-Player-${_pkgver}.AppImage"
'zy-player'
'zy-player.desktop')
md5sums=('8752541c144a9cae21ea0981f1bcda77'
'00d32292a0f02465b83182ebe35a1f3f'
'8490019ad48ac40a5cde99ae5ba6baff')
_filename=ZY-Player-${_pkgver}.AppImage
prepare() {
chmod +x ${_filename}
./${_filename} --appimage-extract &> /dev/null
}
package() {
install -Dm755 "zy-player" "${pkgdir}/usr/bin/zy-player"
install -Dm644 "zy-player.desktop" "${pkgdir}/usr/share/applications/zy-player.desktop"
install -Dm644 "squashfs-root/zy.png" "${pkgdir}/usr/share/icons/zy-player.png"
install -Dm644 "squashfs-root/resources/app.asar" "${pkgdir}/usr/share/zy-player/zy-player.asar"
}
|