diff options
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" |