summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2f07af4a39d76450920f19e535bb9e9638a356e (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
# Maintainer: Matthew A. <matthewa@duck.com>
# Contributor: Daniel Leining <daniel@the-beach.co>

pkgname=chunky-launcher
pkgver=1.14.0
pkgrel=2
pkgdesc="Launcher for Chunky, the Minecraft mapping and rendering tool"
url="http://chunky.llbit.se/"
arch=('any')
license=('GPL3')
depends=('java-runtime=17' 'java-openjfx=17')
source=(ChunkyLauncher.jar::https://chunkyupdate.lemaik.de/ChunkyLauncher.jar
chunky-launcher.sh
chunky-launcher.desktop)
sha512sums=('2d319e1a13a6808b6978b82deba8eb371d4b9b01504c5bfdb3fcfa2218decaa6a07194bc054e00586ae136f702cfda4071788855917e06ed63435da4931d3788' 
'7aa12077ae7a8d02be5be263d01d350da3dc6755d9df8fd2b4ff64392e72fe9cd51bb4040367d13203a0f16aeeec607777795c61f31aaa4282c94ead3a7dbeb1'
'c5f78c60ad94d7f6c8b2ed334386a6731a5961f12a6b42de4518fcc23b367773dd6a5b0f46d35b0d6d3b2617052f0d32c5e7afc0befe7de43ae3d400d7530b53')

build() {
  bsdtar -xf ChunkyLauncher.jar "*chunky-cfg.png"
  find . -name "chunky-cfg.png" -exec mv {} . \;
}

package() {
  install -Dm755 chunky-launcher.sh "$pkgdir/usr/bin/chunky-launcher"
  install -Dm644 ChunkyLauncher.jar "$pkgdir/usr/share/java/chunky/ChunkyLauncher.jar"
  install -Dm644 chunky-launcher.desktop "$pkgdir/usr/share/applications/chunky-launcher.desktop"
  install -Dm644 chunky-cfg.png "$pkgdir/usr/share/pixmaps/chunky.png"
}