summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Eleftheriou2017-10-24 09:07:17 +0200
committerGeorge Eleftheriou2017-10-24 09:07:17 +0200
commit5851ca2aa214af13b5957db03acec757591fec11 (patch)
tree03f01ef28d45ab98c5f8c2e50287af7e5c79819e
parent315a4a892beb4add73fd9dc7ec76c388868f2c3b (diff)
downloadaur-5851ca2aa214af13b5957db03acec757591fec11.tar.gz
Wrapper script now accepting command line arguments
... and converted the md5sums to sha256sums
-rw-r--r--.SRCINFO14
-rwxr-xr-xHDFView2
-rw-r--r--HDFView.desktop2
-rw-r--r--PKGBUILD18
4 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d09be0bfacd..e771a0caa17 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hdfview
pkgdesc = a GUI browser for reading hdf5 files (created with versions up to 1.8)
pkgver = 2.14.0
- pkgrel = 5
+ pkgrel = 6
url = https://support.hdfgroup.org/products/java/
arch = i686
arch = x86_64
@@ -11,15 +11,15 @@ pkgbase = hdfview
depends = hdf-java
options = !strip
source = https://support.hdfgroup.org/ftp/HDF5/hdf-java/current/src/hdfview-2.14.tar.gz
+ source = HDFView
source = HDFView.desktop
source = HDFView.ico
source = license
- source = HDFView
- md5sums = 3dafb38490718d46e359d250c7bb2377
- md5sums = 4d40ab135641713c9b4ab0a41f1e1bf7
- md5sums = b86542f80203ea9f93f447fa7c20d25a
- md5sums = db0de6079dd881781768d05de29c50e0
- md5sums = 5e498af8f85e275ab0bb583b0ab0a1b3
+ sha256sums = 97a08300bba3f8b799a16d1d08ff9a1b2dd94757717dcf2a09d7c2539d6c6953
+ sha256sums = ffcd06e84214ebdb67ff46140708c6282558134e4f33146d53f10d67ea0b42bd
+ sha256sums = ceb3c33a6bf7462722328153903124eb743338e3bedc9255ac1b1251907ced9c
+ sha256sums = 8d3e8e2c070e538f0a8de0d309afa2e11afb49c0889841044294cb2b72cda25b
+ sha256sums = 78aac8e0c7fb92f8ea188dfa101e02c0df5ccaaaace6a52ff411be29c9b2d905
pkgname = hdfview
diff --git a/HDFView b/HDFView
index ef0d843f0d6..d23d7d6e903 100755
--- a/HDFView
+++ b/HDFView
@@ -30,7 +30,7 @@ JAVA_OPTIONS=${JAVA_OPTIONS:1}
export _JAVA_OPTIONS=${JAVA_OPTIONS}
# Launch the viewer:
-exec ${HDFVIEW_APPLICATION}
+exec ${HDFVIEW_APPLICATION} "${@}"
##############################################################################
# vim:et:ft=sh:nowrap:sts=4:sw=4:ts=4
diff --git a/HDFView.desktop b/HDFView.desktop
index 0608c14d089..b61b605a138 100644
--- a/HDFView.desktop
+++ b/HDFView.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=HDFView
Comment=HDFView is a GUI tool for browsing and editing HDF4 and HDF5 files.
-Exec=/usr/bin/HDFView
+Exec=/usr/bin/HDFView %F
Icon=/usr/share/pixmaps/HDFView.ico
Terminal=false
Type=Application
diff --git a/PKGBUILD b/PKGBUILD
index f74d71556cf..980c755ba90 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=hdfview
_pkgname=HDFView
pkgver=2.14.0
_pkgver=${pkgver%.0}
-pkgrel=5
+pkgrel=6
pkgdesc="a GUI browser for reading hdf5 files (created with versions up to 1.8)"
arch=('i686' 'x86_64')
url="https://support.hdfgroup.org/products/java/"
@@ -16,15 +16,15 @@ depends=('hdf-java')
makedepends=('apache-ant' 'java-environment')
options=(!strip)
source=("https://support.hdfgroup.org/ftp/HDF5/hdf-java/current/src/${pkgname}-${_pkgver}.tar.gz"
- "${_pkgname}.desktop"
+ "${_pkgname}"
+ "${_pkgname}.desktop"
"${_pkgname}.ico"
- license
- HDFView)
-md5sums=('3dafb38490718d46e359d250c7bb2377'
- '4d40ab135641713c9b4ab0a41f1e1bf7'
- 'b86542f80203ea9f93f447fa7c20d25a'
- 'db0de6079dd881781768d05de29c50e0'
- '5e498af8f85e275ab0bb583b0ab0a1b3')
+ license)
+sha256sums=('97a08300bba3f8b799a16d1d08ff9a1b2dd94757717dcf2a09d7c2539d6c6953'
+ 'ffcd06e84214ebdb67ff46140708c6282558134e4f33146d53f10d67ea0b42bd'
+ 'ceb3c33a6bf7462722328153903124eb743338e3bedc9255ac1b1251907ced9c'
+ '8d3e8e2c070e538f0a8de0d309afa2e11afb49c0889841044294cb2b72cda25b'
+ '78aac8e0c7fb92f8ea188dfa101e02c0df5ccaaaace6a52ff411be29c9b2d905')
prepare() {
cd "${pkgname}-${_pkgver}"