diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | qtgrace.install | 30 |
3 files changed, 39 insertions, 15 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Sat Apr 30 08:28:21 UTC 2016 pkgbase = qtgrace pkgdesc = A program to display or plot data, analyze data and prepare it for printing, Qt version of the Grace - pkgver = 0.2.4 + pkgver = 0.2.5 pkgrel = 1 url = http://plasma-gate.weizmann.ac.il/Grace/ install = qtgrace.install @@ -8,17 +10,19 @@ pkgbase = qtgrace arch = x86_64 license = GPL depends = qtwebkit - source = http://downloads.sourceforge.net/sourceforge/qtgrace/qtgrace_src_024.zip + optdepends = fftw: for better fourier-transformation + optdepends = libharu: for pdf-output + source = http://downloads.sourceforge.net/sourceforge/qtgrace/qtgrace_v025a_src.zip source = qtgrace.png source = qtgrace.desktop source = qtgrace-mimetypes source = qtgrace - md5sums = 5ad94668234520f0ccf615f6b6fa5915 + md5sums = c6b2729f510176f20ad2c51b789ea6ba md5sums = 935df82970eaf9b38b1f5ab26ed45a8d md5sums = d1bbdd58b4479f4dc27b0bee3d8d0fca md5sums = 3beba5237f56a2ff28b6cd878865b25c md5sums = 21b708638a6d63224e05582873be0e4f - sha256sums = 1c5c7e6662b9d5ba7f22619254c17e1872b5ce95034a647815341a7f7bcc63ce + sha256sums = db8fde7b32e9a3ab87de1ff0be6b532037d7b32afe2d436314f3db67a97cc894 sha256sums = 53285847eb5214a8ef86593bb1f2791d6e01cfed4bb97323ad86d070ed3f6b98 sha256sums = b8351ba9f8a7cd5033eb453ab56e01771aba02b47d3ab4b70f29b4a138a55a36 sha256sums = 00c16404b9c9386c32a298a3ec8842d2bef8ad6b278a817157ee4af65fcf1479 @@ -1,8 +1,8 @@ pkgname=qtgrace -pkgver=0.2.4 -_pkgver=024 +pkgver=0.2.5 +_pkgver=025a pkgrel=1 pkgdesc="A program to display or plot data, analyze data and prepare it for printing, Qt version of the Grace" arch=('i686' 'x86_64') @@ -10,14 +10,16 @@ url="http://plasma-gate.weizmann.ac.il/Grace/" #url="http://sourceforge.net/projects/qtgrace/" license=('GPL') depends=('qtwebkit') +optdepends=('fftw: for better fourier-transformation' + 'libharu: for pdf-output') install=qtgrace.install -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_src_${_pkgver}.zip $pkgname.png $pkgname.desktop $pkgname-mimetypes qtgrace) -md5sums=('5ad94668234520f0ccf615f6b6fa5915' +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_v${_pkgver}_src.zip $pkgname.png $pkgname.desktop $pkgname-mimetypes qtgrace) +md5sums=('c6b2729f510176f20ad2c51b789ea6ba' '935df82970eaf9b38b1f5ab26ed45a8d' 'd1bbdd58b4479f4dc27b0bee3d8d0fca' '3beba5237f56a2ff28b6cd878865b25c' '21b708638a6d63224e05582873be0e4f') -sha256sums=('1c5c7e6662b9d5ba7f22619254c17e1872b5ce95034a647815341a7f7bcc63ce' +sha256sums=('db8fde7b32e9a3ab87de1ff0be6b532037d7b32afe2d436314f3db67a97cc894' '53285847eb5214a8ef86593bb1f2791d6e01cfed4bb97323ad86d070ed3f6b98' 'b8351ba9f8a7cd5033eb453ab56e01771aba02b47d3ab4b70f29b4a138a55a36' '00c16404b9c9386c32a298a3ec8842d2bef8ad6b278a817157ee4af65fcf1479' diff --git a/qtgrace.install b/qtgrace.install index 702c510609bb..d441bb310a60 100644 --- a/qtgrace.install +++ b/qtgrace.install @@ -1,14 +1,32 @@ +update_icons() { + + # Setup Menus + if which update-desktop-database + then + update-desktop-database -q /usr/share/applications > /dev/null 2>&1 + fi + + # Setup MIME types + if which update-mime-database + then + update-mime-database /usr/share/mime > /dev/null 2>&1 + fi + +} + + post_install() { - echo "update mime database..." - update-mime-database usr/share/mime > /dev/null - echo "update desktop mime database..." - update-desktop-database -q + update_icons + echo ">> Activate FFTW3- and libHaru(PDF)-support:" + echo ">> See Preferences-->Micellaneous and see whether the libraries are usable and activated." } post_upgrade() { - post_install $1 + post_install } post_remove() { - post_install $1 + update_icons } + + |