summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33c08c8ed2d2d218772dc289b166f4f894f3fa01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=zyplayer-bin
pkgver=3.2.7
pkgrel=1
pkgdesc="跨平台桌面端视频资源播放器,免费高颜值"
arch=("aarch" "x86_64")
url="https://github.com/Hiram-Wong/ZyPlayer"
license=("MIT")
depends=('libcups' 'libxcomposite' 'nss' 'nspr' 'dbus' 'libxext' 'gcc-libs' 'pango' 'libxdamage' 'libxcb' 'libxkbcommon' \
    'libxfixes' 'libx11' 'libxrandr' 'expat' 'glib2' 'alsa-lib' 'libdrm' 'mesa' 'gtk3' 'at-spi2-core' 'cairo' 'glibc' 'hicolor-icon-theme')
provides=("${pkgname%-bin}-${pkgver}")
conflicts=("${pkgname%-bin}" "zy-player")
source_aarch=("${pkgname%-bin}-${pkgver}-aarch.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}-linux-${pkgver}-arm64.deb")
source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}-linux-${pkgver}-amd64.deb")
source=("LICENSE::https://raw.githubusercontent.com/Hiram-Wong/ZyPlayer/main/LICENSE")
sha256sums=('84378c42abc60e52c641be1d9d3b5b74e587adbfce6a1be75276524120055edd')
sha256sums_aarch=('e8b8c5bd06b5256427decbb8126f362519e92da581b768f66e2d0a106d1d50b4')
sha256sums_x86_64=('b2139741daf61b17d51f3cf77f9edbfb76c2a99933ca647d6f59963c685eea7b')
package() {
    bsdtar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
    install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}