diff options
author | zxp19821005 | 2023-11-15 15:39:10 +0800 |
---|---|---|
committer | zxp19821005 | 2023-11-15 15:39:10 +0800 |
commit | 3de48db859e641545101c98abc1dbe83199910f0 (patch) | |
tree | 62c4a2a1721a29f8a73e6f6a301d5511e8bd00a8 /PKGBUILD | |
parent | e44447efb5e15a6d2f0dc5ba4df39cd17f4b9606 (diff) | |
download | aur-3de48db859e641545101c98abc1dbe83199910f0.tar.gz |
fix errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -3,20 +3,25 @@ pkgname=moonplayer-appimage _pkgname=MoonPlayer _appname="com.github.coslyk.${_pkgname}" pkgver=4.3 -pkgrel=1 +pkgrel=2 pkgdesc="All-in-One video player that can play videos from Youtube, Bilibili etc. as well as local videos." arch=("x86_64") url="https://coslyk.github.io/moonplayer.html" -_githuburl="https://github.com/coslyk/moonplayer" +_ghurl="https://github.com/coslyk/moonplayer" license=('GPL3') provides=("${pkgname%-appimage}=${pkgver}") conflicts=("${pkgname%-appimage}") -depends=('hicolor-icon-theme' 'zlib' 'glibc') +depends=( + 'hicolor-icon-theme' +) +makedepends=( + 'squashfuse' +) options=('!strip') _install_path="/opt/appimages" -source=("${pkgname%-appimage}-${pkgver}.AppImage::${_githuburl}/releases/download/v${pkgver}/${_pkgname}--${CARCH}.AppImage") +source=("${pkgname%-appimage}-${pkgver}.AppImage::${_ghurl}/releases/download/v${pkgver}/${_pkgname}--${CARCH}.AppImage") sha256sums=('84ce29a94c194a084fb51f7c046042b35cf920412be0e7d7450f168220c51b76') -prepare() { +build() { chmod a+x "${srcdir}/${pkgname%-appimage}-${pkgver}.AppImage" "${srcdir}/${pkgname%-appimage}-${pkgver}.AppImage" --appimage-extract > /dev/null sed "s| %U| --no-sandbox %U|g;s|Icon=${_appname}|Icon=${pkgname%-appimage}|g" -i "${srcdir}/squashfs-root/${_appname}.desktop" |