summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b6ab67c41a860991af58f7417c72e0690c0d3ba (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
# Maintainer: Uumas <u@uumas.fi>
# Contributors: Mornielome <stuff@lukasjacobs.de>, c0ldcat <firez199984@gmail.com>, KbanKiller
pkgname=marvin
pkgver=20.21.0
_pkgver=$(echo $pkgver | sed 's/.[0-9]$//g')
pkgrel=1
pkgdesc="Intuitive applications and API for chemical sketching, visualization and data exploration"
arch=('any')
url="http://www.chemaxon.com"
license=('proprietary')
depends=('java-runtime<=11')
filename="marvin_linux_${_pkgver}.rpm"
source=("https://dl.chemaxon.com/marvin/$pkgver/$filename"
"MarvinSketch.desktop"
"MarvinView.desktop"
"marvin-sketch-symbolic.svg")
md5sums=('ef82f96468d237b2bd220d8c568e2189'
         '54cb1a06e79c0e1cd980490247486df2'
         'cb6c8c35cd486844a465d408861642c0'
         'e6758f94b843b97804112fa0420ba1bb')

package() {
install -Dm755 MarvinSketch.desktop ${pkgdir}/usr/share/applications/MarvinSketch.desktop
install -Dm755 MarvinView.desktop ${pkgdir}/usr/share/applications/MarvinView.desktop

cp -R opt ${pkgdir}/opt

install -Dm644 opt/chemaxon/marvinsuite/.install4j/MarvinSketch.png ${pkgdir}/usr/share/pixmaps/marvin-sketch.png
install -Dm644 marvin-sketch-symbolic.svg ${pkgdir}/usr/share/pixmaps/marvin-sketch-symbolic.svg
}