New comment by jaminW55 on void-packages repository https://github.com/void-linux/void-packages/issues/48155#issuecomment-1931203433 Comment: Sorry for the delay. I've been tinkering on this one for a build and am definitely running into issues with gradle building correctly. This is my current working template, if anyone looking would like to give it a go. I will continue to try to build, but thought it good to share. ``` # Template file for 'Tachidesk-Server' pkgname=Tachidesk-Server version=0.7.0 revision=1 hostmakedepends="openjdk8 gradle unzip" depends="openjdk8" short_desc="A free and open source manga reader server written in Kotlin" maintainer="jaminW55 " license="MPL-2.0" homepage="https://github.com/Suwayomi/Tachidesk-Server" distfiles="https://github.com/Suwayomi/Suwayomi-Server/archive/refs/tags/v${version}.tar.gz" checksum=ba18fa09ac4b7a1703d054da1ae8ff6d55af3b3b4d88b874260725ff94011656 do_build() { #. /etc/profile.d/jdk.sh export JAVA_HOME=/usr/lib/jvm/openjdk8 gradle --no-daemon #build } do_install() { vmkdir /usr/share/Tachidesk-Server echo "Listing all contents of ${wrksrc}..." ls -lR ${wrksrc} | grep "jar" # Copy the JAR file from the extracted directory #cp ${wrksrc}/${pkgname}-v${version}-r1197-linux-x64/*.jar /usr/share/Tachidesk-Server cp ${wrksrc}/Tachidesk-Server-1.0.jar /usr/share/Tachidesk-Server # Install the launcher script vinstall ${FILESDIR}/tachidesk-server.sh 755 usr/bin tachidesk-server # Install the desktop file vmkdir /usr/share/applications vinstall ${FILESDIR}/tachidesk-server.desktop 644 usr/share/applications } ```