From: jaminW55 <jaminW55@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: Tachidesk-Server
Date: Thu, 08 Feb 2024 07:50:37 +0100 [thread overview]
Message-ID: <20240208065037.DE70921C91@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48155@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]
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 <jaminW@proton.me>"
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
}
```
next prev parent reply other threads:[~2024-02-08 6:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 18:02 [ISSUE] " jaminW55
2024-01-15 5:56 ` jaminW55
2024-01-15 6:03 ` classabbyamp
2024-01-15 6:09 ` jaminW55
2024-01-15 6:36 ` jaminW55
2024-01-15 6:39 ` classabbyamp
2024-01-15 6:59 ` jaminW55
2024-01-21 1:24 ` oreo639
2024-01-21 1:40 ` classabbyamp
2024-01-21 1:42 ` classabbyamp
2024-02-02 9:25 ` meator
2024-02-07 3:20 ` jaminW55
2024-02-07 19:22 ` jaminW55
2024-02-08 6:50 ` jaminW55 [this message]
2024-02-12 1:02 ` jaminW55
2024-02-12 1:02 ` jaminW55
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240208065037.DE70921C91@inbox.vuxu.org \
--to=jaminw55@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).