summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 100d69d0497ac3efd19589acd0f07d58b58782ff (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
# Maintainer: vit01 (vitirk) <me at ii-net dot tk>
# Contributor: David PS <dps.helio at gmail dot com>

pkgname=jhelioviewer4-bin
pkgver=4.0.0
pkgrel=1
pkgdesc="Visualization software for solar image data in space weather context"
arch=('x86_64')
url="http://www.jhelioviewer.org/"
license=('MPL')
depends=('sh')
makedepends=('rpmextract')
source=(
  "${pkgname}.desktop"
  "http://swhv.oma.be/download_test/JHelioviewer_4_0_0_amd64.rpm"
  'https://raw.githubusercontent.com/Helioviewer-Project/JHelioviewer/master/resources/images/hvImage_160x160.png'
)
md5sums=(
         'c7d4c32b587d68c11db5f740550f96f1'
         'efb18b730755b3d8ce7cca8559f11542'
         'f59e81237e7069b0793316d30c7bba8c'
)

package() {
  mkdir -p ${pkgdir}
  cd ${srcdir}
  rpmextract.sh *.rpm

  mv opt ${pkgdir}/

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

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