blob: 86f23c4462c7987df6864818461b5f2f07040901 (
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
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Dogwen <lyw182 at outlook dot com>
# Maintainer: Lukas Zimmermann <luk.zim91 at gmail dot com>
# Contributor: Benjamin Wilhelm <aur@hedgehogcode.de>
# Package creator: Fabien Dubosson <fabien.dubosson@gmail.com>
pkgname=knime-desktop
_upstream_name="knime"
pkgver=5.4.0
pkgrel=1
pkgdesc="A user-friendly graphical workbench for the entire data analysis process"
url="http://www.knime.org/"
license=('custom')
arch=('x86_64')
depends=('java-environment' 'python')
makedepends=('binutils' 'fakeroot' 'imagemagick')
optdepends=('bash: Required for bash-scriptable nodes'
'r: Required for R-scriptable nodes'
'webkit2gtk: Required for displaying HTML content')
options=('!emptydirs')
changelog=ChangeLog
source=("https://download.knime.org/analytics-platform/linux/${_upstream_name}_${pkgver}.linux.gtk.${arch}.tar.gz"
'knime.sh'
'knime-desktop.desktop'
'LICENSE')
sha256sums=('1975f70190930e8b02c4520aad34d315811c964f860a92298da9902e8e51d383'
'834238a61eb6018de8957935bf98ab6f31d3767bd2ccf87402ec3ea3096ce955'
'33f9d9c921e7e89c24f4b9d73b694300bdc995e9705b10ee668f8e6a7b760634'
'ecd59cb1a79d96474e732361fcd40417fd3352b3974be66add43f8f00c7e016a')
package() {
local installpath="/usr/share/java"
local programpath="${installpath}/${pkgname}"
local share="${pkgdir}/usr/share"
local bin="${pkgdir}/usr/bin"
msg2 "Copy the program"
install -d -m755 "${pkgdir}/${installpath}"
cp -r "${srcdir}/${_upstream_name}_${pkgver}" "${pkgdir}/${programpath}"
msg2 "Copy the launcher and the license"
install -D -m644 "${srcdir}/LICENSE" "${share}/licenses/${pkgname}/LICENSE"
install -D -m755 "${srcdir}/knime.sh" "${bin}/${pkgname}"
sed -i "s|__KNIMEHOME__|${programpath}|" "${bin}/${pkgname}"
msg2 "Install the desktop specification"
install -D -m644 "${srcdir}/${pkgname}.desktop" "${share}/applications/${pkgname}.desktop"
install -d -m755 "${share}/pixmaps"
convert "${srcdir}/${_upstream_name}_${pkgver}/icon.xpm" "${share}/pixmaps/${pkgname}.png"
}
# vim:set ts=4 sw=4 et:
|