summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8719f926dd4e10eb76a1506245821d5d9aaa014f (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

# Maintainer: Rahul G <rahulg.astro@gmail.com>
# Maintainer: Bikash Thapa Magar <thpsbikash@gmail.com>
# Contributor: Beej Jorgensen <beej@beej.us>

pkgname=jhelioviewer
pkgver=4.7.0
pkgrel=1
pkgdesc="Visualization software for solar image data"
arch=('x86_64')
url="https://www.jhelioviewer.org/"
license=('MPL')
depends=('java-runtime')
makedepends=()
noextract=()
source=("${pkgname}"
  "${pkgname}.desktop"
  'http://swhv.oma.be/download/JHelioviewer_4_7_0_x86_64.rpm'
)

md5sums=('843337bcd3c49e7f24c98383640c7070'
	'4cdedcd67c7371762d4ad17b7ce91a32'
	'9b1007cec8116ae5577be3ac7ccc547b'
         )

package() {
  # install files
  cp -r $srcdir/opt $pkgdir

  # install icon
  install -D -m644 $srcdir/opt/JHelioviewer/.install4j/JHelioviewer.png $pkgdir/usr/share/pixmaps/${pkgname}.png

  # install /usr/bin binary
  install -D -m755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname

  # install desktop entry
  install -D -m644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
}