Github messages for voidlinux
 help / color / mirror / Atom feed
From: jaminW55 <jaminW55@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: Tachidesk-Server 
Date: Mon, 15 Jan 2024 07:59:39 +0100	[thread overview]
Message-ID: <20240115065939.1A60428C12@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: 1657 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48155#issuecomment-1891428522

Comment:
> write out the template yourself. build style are not necessary, they are just handy shortcuts for common types of builds. grep around for other templates using gradle

I've tried building one myself, but went wrong somewhere. 
`=> ERROR: Tachidesk-Server-0.7.0_1: do_build: './gradlew build' exited with 127
=> ERROR:   in do_build() at srcpkgs/Tachidesk-Server/template:22`
I'll check for others.

```
# Template file for 'Tachidesk-Server'
pkgname=Tachidesk-Server
version=0.7.0
revision=1
build_style=fetch
hostmakedepends="openjdk8"
depends="openjdk8"
short_desc="A free and open source manga reader server written in Kotlin"
maintainer="jaminW55 <wellerbp@protonmail.com>"
license="MPL-2.0"
homepage="https://github.com/Suwayomi/Tachidesk-Server"
distfiles="https://github.com/Suwayomi/Suwayomi-Server/releases/download/v0.7.0/Tachidesk-Server-v0.7.0-r1197-linux-x64.tar.gz"
checksum=cc1bc67b387d687a1bbbf4cc10e6437f66aa70c477df1eeaab5eff6cd9569c51


do_extract() {
    tar -xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-v${version}-r1197-linux-x64.tar.gz -C ${wrksrc}
}

do_build() {
    export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
    ./gradlew build
}

do_check(){
    cd ${wrksrc}
    gradle build
}

do_install() {
    vmkdir /usr/share/Tachidesk-Server
    vcopy build/libs/*.jar /usr/share/Tachidesk-Server
    # Create a symlink for the executable
    vln -s /usr/share/Tachidesk-Server/Tachidesk-Server.jar /usr/bin/tachidesk-server
}
```


  parent reply	other threads:[~2024-01-15  6:59 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 [this message]
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
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=20240115065939.1A60428C12@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).