blob: 10aea0b7e7cfcfe3be7bd2dd6f893f72025b97bc (
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
33
34
35
36
37
38
39
40
41
|
# Contributor: Dirk Sohler <spam@0x7be.de>
# Contributor: Hunter Jones <hjones2199 at gmail dot com>
# Maintainer: Thomas Bork <sudobash418 at gmail dot com>
pkgname=worldpainter
pkgver=2.23.2
pkgrel=1
pkgdesc='An interactive map generator for Minecraft'
url='https://www.worldpainter.net/'
arch=('x86_64')
license=('GPL')
depends=('java-environment' 'lib32-libxi' 'sh')
optdepends=('minecraft: for playing the exported maps')
source=("https://www.worldpainter.net/files/${pkgname}_${pkgver}.tar.gz"
'worldpainter.png'
'worldpainter.desktop'
'launch-script.sh')
sha256sums=('161adf236fe605e219020dba43cc7c4f6614d80370024a02de1f53830ea08286'
'a93cd4af0e8ef470f48a8dd2773fb9d83a5302f1b9bfba67f43b4ec7500a039e'
'815abfee2eb545a3bac0d2e4e5c0cadc548cc1466c4e0aaf3bfd1f07a15e7741'
'631cffdb102945a39b28ec33567acd350c3ae5b000face915d24159741942fd0')
package() {
cd "${srcdir}/${pkgname}"
install -dm755 "${pkgdir}/opt/worldpainter/"{bin,lib,.install4j/user}
install -dm755 "${pkgdir}/usr/share/"{pixmaps,applications}
install -Dm644 bin/* "${pkgdir}/opt/${pkgname}/bin/"
install -Dm644 lib/* "${pkgdir}/opt/${pkgname}/lib/"
install -Dm644 *.vmoptions "${pkgdir}/opt/${pkgname}/"
install -Dm755 worldpainter "${pkgdir}/opt/${pkgname}/"
find .install4j/ -maxdepth 1 -type f -exec install -Dm644 {} "${pkgdir}/opt/${pkgname}/.install4j/" \;
find .install4j/user/ -maxdepth 1 -type f -exec install -Dm644 {} "${pkgdir}/opt/${pkgname}/.install4j/user/" \;
install -Dm644 "${srcdir}/worldpainter.png" "${pkgdir}/usr/share/pixmaps/"
install -Dm755 "${srcdir}/launch-script.sh" "${pkgdir}/usr/bin/worldpainter"
install -Dm644 "${srcdir}/worldpainter.desktop" "${pkgdir}/usr/share/applications/worldpainter.desktop"
}
|