summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 954ab3a1bdfedf908d38d8358e193fe21bcf398b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Aria Moradi <aria.moradi007 at gmail dot com>
# Maintainer: Mahor Foruzesh <mahorforuzesh at pm dot me>

pkgname=tachidesk-jui
pkgver=1.2.1
pkgrel=2
pkgdesc="A free and open source manga reader that runs extensions built for Tachiyomi"
arch=("x86_64")
url="https://github.com/Suwayomi/Tachidesk-JUI"
license=("MPL2")
depends=("jre-openjdk>=17")
provides=("tachidesk-jui")

_jar=Tachidesk-JUI-linux-x64-${pkgver}.jar

source=("${url}/releases/download/v${pkgver}/${_jar}" 
        "${pkgname}.desktop"
        "${pkgname}.png"
        "${pkgname}.sh")
sha256sums=('2e98530a4c1b14195ecad4c89ba3527e4ecee0b51482244b37f9b4bb725ba535'
            'ce97f5451bc5cc13a17c7fbc4302ff5c7d5761f7981dc85abca5005add76a84b'
            '7528715b5b8d8360a9fd7dc096b51fd52bf3da671167e224b6cb637437fc4831'
            '2cb80b6ddf85b7697626b77d4bec0946734dc7a8306934fd58e993a5f3eeeb2c')

noextract=("${_jar}")

package() {
    install -Dm644 "${srcdir}/${_jar}"                "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
    install -Dm644 "${srcdir}/${pkgname}.desktop"  -t "${pkgdir}/usr/share/applications/"
    install -Dm644 "${srcdir}/${pkgname}.png"      -t "${pkgdir}/usr/share/pixmaps/"
    install -Dm755 "${srcdir}/${pkgname}.sh"          "${pkgdir}/usr/bin/${pkgname}"
}