summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b1a197f6ac09c64e917e3399f97dfd17f54ad07 (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
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Fancy <springzfx at gmail.com>

pkgbase=lx-music-desktop
pkgname=('lx-music-desktop-bin')
conflicts=('lx-music-desktop')
pkgver=2.9.0
pkgrel=1
pkgdesc="A music software based on Electron + Vue. 一个基于 Electron + Vue 开发的音乐软件。"
arch=('x86_64')
url="https://github.com/lyswhut/lx-music-desktop"
license=('Apache-2.0')
# Get depends from command: pacman -Qip lx-music-desktop.v${pkgver}.x64.pacman
# E.g: pacman -Qip lx-music-desktop.v1.2.0.x64.pacman
# Then copy the `Depends On(依赖于)` field.
depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy' 'libnotify' 'libappindicator-gtk3')
source=("https://mirror.ghproxy.com/https://github.com/lyswhut/lx-music-desktop/releases/download/v${pkgver}/lx-music-desktop_${pkgver}_x64.pacman")
md5sums=('63e13b6ef2a7076231f0e6568e2638a9')
# copy .INSTALL script from lx-music-desktop.v${pkgver}.x64.pacman
# E.g: tar xf lx-music-desktop.v1.2.0.x64.pacman .INSTALL && mv -fv .INSTALL lx-music-desktop.install
install=lx-music-desktop.install
options=('!strip')

package() {
  cp -r opt/ usr/ "${pkgdir}"
}