# Maintainer: Nathan Wong, NorthWestWind _pkgname=app-librescore pkgname=$_pkgname-appimage pkgver=3.0.12 pkgrel=1 pkgdesc="Download sheet music" arch=('any') url="https://github.com/LibreScore/app-librescore" license=('MIT') source=("${url}/releases/download/v${pkgver}/LibreScore.AppImage") md5sums=('b0244e3eff4dc65220b6e0da11fc571c') options=(!strip) prepare() { cd $srcdir chmod +x ./LibreScore.AppImage ./LibreScore.AppImage --appimage-extract } package() { install -Dm755 "${srcdir}/LibreScore.AppImage" "${pkgdir}/usr/bin/librescore" install -dm755 "${pkgdir}/usr/share/applications/" cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/share/icons" "${pkgdir}/usr/share/" cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/share/applications" "${pkgdir}/usr/share/" }