summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorvit012021-01-09 01:56:09 +0800
committervit012021-01-09 01:56:09 +0800
commite7b8ee15e7c3be6b891654da7be14d65860f62c9 (patch)
tree0c0c708b7711a7fa2be9993a258e2bd3a8da11c5 /PKGBUILD
downloadaur-jhelioviewer4-bin.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..100d69d0497
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}
+