# Maintainer: Antti pkgname=modrinth-app-bin pkgver=0.7.1 pkgrel=1 pkgdesc='An unique, open source launcher that allows you to play your favorite mods, and keep them up to date, all in one neat little package.' url='https://modrinth.com/app' arch=('x86_64') license=('GPL3') depends=( # tauri deps 'openssl-1.1' 'dbus' 'freetype2' 'gtk3' 'libappindicator-gtk3' 'librsvg' 'libsoup' 'webkit2gtk' # minecraft deps 'libgl' 'libpulse' 'libx11' 'libxcursor' 'libxext' 'libxxf86vm' ) optdepends=( 'xorg-xrandr: for older minecraft versions' ) provides=('modrinth-app') conflicts=('modrinth-app') source=( "https://launcher-files.modrinth.com/versions/${pkgver}/linux/modrinth-app_${pkgver}_amd64.deb" "modrinth-app" ) sha256sums=('9e2b1c187a3df1f5db87fd9fe214e4bccf67553d69325243bcb39f62514c6be6' '5404b4e7b25903afe43ab2f2451be4b27f4823c6785327b166f2faa519fa38a9') build() { cd "$srcdir/" tar xf data.tar.gz } package() { cp -r "${srcdir}/usr/" "${pkgdir}" mkdir -p "${pkgdir}/opt/modrinth-app" mv "${pkgdir}/usr/bin/modrinth-app" "${pkgdir}/opt/modrinth-app/" install -Dm755 "${srcdir}/modrinth-app" "${pkgdir}/usr/bin/" }