diff options
author | Feng Yu | 2020-10-03 12:02:52 +0800 |
---|---|---|
committer | Feng Yu | 2020-10-03 12:02:52 +0800 |
commit | dc57365fcb2a4a49fc441065d3feb5c9331a8bc1 (patch) | |
tree | 9e9e5dde2a5fadc0d851b4ac0b93e9279726ef84 /PKGBUILD | |
parent | d7bd0d2afe52ad61072bcc5966704c1fce3a5dde (diff) | |
download | aur-dc57365fcb2a4a49fc441065d3feb5c9331a8bc1.tar.gz |
Upgrade to 1.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -3,18 +3,23 @@ pkgbase=lx-music-desktop pkgname=('lx-music-desktop-bin') -pkgver=1.0.1 +conflicts=('lx-music-desktop') +pkgver=1.2.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=('') -groups=('') -depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'libutil-linux' 'at-spi2-core' 'libappindicator-gtk3' 'libsecret') -options=('!strip' '!emptydirs') -source_x86_64=("https://github.com/lyswhut/lx-music-desktop/releases/download/v$pkgver/lx-music-desktop.v$pkgver.x64.deb") -sha512sums_x86_64=('4bfb09978e8187bfd53642cbc08a2f3754931ae178a458f67a16cf6964af991e5b75a585729217076acc280db620b1824165d8fb34f2e5828f522192c39cce85') +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://github.com/lyswhut/lx-music-desktop/releases/download/v${pkgver}/lx-music-desktop.v${pkgver}.x64.pacman") +md5sums=('7b416a30f9e737e28a01a51077d28632') +# 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 -package_lx-music-desktop-bin(){ - tar xf data.tar.xz -C "${pkgdir}" +package() { + cp -r opt/ usr/ "${pkgdir}" } |