diff options
author | chrisjbillington | 2019-10-26 15:48:43 -0400 |
---|---|---|
committer | chrisjbillington | 2019-10-26 15:48:43 -0400 |
commit | 1167e9da4efd811c79ae49052555bd7365b8b34e (patch) | |
tree | d5842c7078a615f342b1e750aaeece879c2733fb | |
download | aur-1167e9da4efd811c79ae49052555bd7365b8b34e.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | HDFView.desktop | 9 | ||||
-rw-r--r-- | HDF_logo.svg | 77 | ||||
-rw-r--r-- | PKGBUILD | 45 |
4 files changed, 151 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..184538d12c0d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = hdfview-bin + pkgdesc = a GUI browser for reading hdf5 files - prebuilt binaries from the HDF group + pkgver = 3.1.0 + pkgrel = 1 + url = https://www.hdfgroup.org/downloads/hdfview/ + arch = x86_64 + license = custom + provides = hdfview + conflicts = hdfview-beta + conflicts = hdfview + replaces = hdfview-beta + source = local://HDFView-3.1.0-centos7_64.tar.gz + source = HDFView.desktop + source = HDF_logo.svg + sha512sums = f7828cf8bd23ef065971722a49d58e52668bb96a4e10015191355357fd92e401f357cab8a1eb2463a031ce4955c108df9f1eaea2d99008250612d25a7fa84f90 + sha512sums = c92d8cd4818feabb996b43c81e4e554e16f8120c80c73a5b7cc8bb2c4c4a59bdd47d42b19ec7a3454f855155ba17b65631e7016f891f29ef4ee8fd4ee45caf90 + sha512sums = 649eb81f33a3b38a7ae2ee9a7f286ffa489d0bd7a9f37a0face64fe7956863dcab2131be3792c45dc03b1a6955fda2b37d168698922e938b73c90d24fee7a8c4 + +pkgname = hdfview-bin + diff --git a/HDFView.desktop b/HDFView.desktop new file mode 100644 index 000000000000..205a05123f9a --- /dev/null +++ b/HDFView.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=HDFView +Comment=HDFView is a GUI tool for browsing and editing HDF4 and HDF5 files. +Exec=/usr/bin/hdfview %F +Icon=/usr/share/pixmaps/HDF_logo.svg +Terminal=false +Type=Application +Categories=GNOME;GTK;Utility; +StartupNotify=false diff --git a/HDF_logo.svg b/HDF_logo.svg new file mode 100644 index 000000000000..9bcf6a15a4dc --- /dev/null +++ b/HDF_logo.svg @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="500" + height="500" + version="1.1" + id="svg12" + sodipodi:docname="HDF_logo.svg" + inkscape:version="0.92.4 5da689c313, 2019-01-14"> + <metadata + id="metadata16"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1323" + inkscape:window-height="1046" + id="namedview14" + showgrid="false" + inkscape:zoom="0.772" + inkscape:cx="-268.13472" + inkscape:cy="141.29534" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="0" + inkscape:current-layer="svg12" /> + <defs + id="defs8"> + <linearGradient + id="linearGradientStops"> + <stop + offset="0" + style="stop-color:#0515fe" + id="stop2" /> + <stop + offset="1" + style="stop-color:#2cab28" + id="stop4" /> + </linearGradient> + <linearGradient + id="BlueGreen" + gradientUnits="userSpaceOnUse" + y1="20" + x1="0" + y2="180" + x2="0" + xlink:href="#linearGradientStops" + gradientTransform="translate(0,82)" /> + </defs> + <path + style="fill:url(#BlueGreen)" + d="M 166.09991,86.26486 A 24.0024,24.0024 0 0 0 142.4612,110.6047 v 85.28517 H 52.943634 V 110.94064 A 24.0024,24.0024 0 0 0 28.582304,86.6008 24.0024,24.0024 0 0 0 4.9436344,110.94064 v 219.34767 a 24.0024,24.0024 0 1 0 47.9999996,0 V 243.88988 H 190.46121 V 135.69845 c 72.9063,6.88849 101.24551,48.69366 100.91011,86.69923 -0.3698,41.9162 -35.34671,87.66903 -126.28121,84.7481 a 24.0024,24.0024 0 1 0 -1.541,47.97463 c 66.7689,2.1447 117.38341,-21.4777 146.78121,-56.25003 v 33.39063 a 24.0024,24.0024 0 1 0 48,0 v -87.16803 h 79.9551 a 24.0024,24.0024 0 1 0 0,-47.99999 h -79.9551 V 134.6047 h 112.2852 a 24.0024,24.0024 0 1 0 0,-48 H 170.38501 a 24.0024,24.0024 0 0 0 -4.2851,-0.33984 z" + id="path10" + inkscape:connector-curvature="0" /> +</svg> diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..169d79f7fdc0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer : Chris Billington <chrisjbillington@gmail.com> +# Contributor : George Eleftheriou <eleftg> +# Contributor : Martin Wimpress <code@flexion.org> +# Contributor : Nick Pope +# Contributor : Bryce Nordgren <bnordgren at gmail dot com> +pkgname=hdfview-bin +_pkgname=HDFView +pkgver=3.1.0 +pkgrel=1 +pkgdesc="a GUI browser for reading hdf5 files - prebuilt binaries from the HDF group" +arch=('x86_64') +url="https://www.hdfgroup.org/downloads/hdfview/" +license=('custom') +provides=('hdfview') +replaces=('hdfview-beta') +conflicts=('hdfview-beta' 'hdfview') +source=("local://${_pkgname}-${pkgver}-centos7_64.tar.gz" + ${_pkgname}.desktop + HDF_logo.svg) +sha512sums=('f7828cf8bd23ef065971722a49d58e52668bb96a4e10015191355357fd92e401f357cab8a1eb2463a031ce4955c108df9f1eaea2d99008250612d25a7fa84f90' + 'c92d8cd4818feabb996b43c81e4e554e16f8120c80c73a5b7cc8bb2c4c4a59bdd47d42b19ec7a3454f855155ba17b65631e7016f891f29ef4ee8fd4ee45caf90' + '649eb81f33a3b38a7ae2ee9a7f286ffa489d0bd7a9f37a0face64fe7956863dcab2131be3792c45dc03b1a6955fda2b37d168698922e938b73c90d24fee7a8c4') + +package() { + mkdir "${pkgdir}/opt" + cp -a "${_pkgname}-${pkgver}-Linux.sh" "${pkgdir}/opt" + cd "${pkgdir}/opt" + + # Make extraction non interactive + sed -i 's/interactive=TRUE/interactive=FALSE/' ${_pkgname}-${pkgver}-Linux.sh + sed -i 's/cpack_skip_license=FALSE/cpack_skip_license=TRUE/' ${_pkgname}-${pkgver}-Linux.sh + + ./${_pkgname}-${pkgver}-Linux.sh + rm "${_pkgname}-${pkgver}-Linux.sh" + + mkdir -p "${pkgdir}/usr/bin" + + # Desktop files, icons, wrappers and license + echo "#!/usr/bin/env bash" > "${pkgdir}/usr/bin/hdfview" + echo "/opt/HDFView/${pkgver}/hdfview.sh "'-root $PWD "$@"' >> "${pkgdir}/usr/bin/hdfview" + chmod 755 "${pkgdir}/usr/bin/hdfview" + install -D -m 644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" + install -D -m 644 "${srcdir}/HDF_logo.svg" "${pkgdir}/usr/share/pixmaps/HDF_logo.svg" + install -D -m 644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |