summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAskhat2016-04-30 14:29:29 +0600
committerAskhat2016-04-30 14:29:29 +0600
commita278204ad3986f16d449df8607b9a3e76b62e456 (patch)
tree33cc5eee6b9f2799199170978da855f911790789
parent456c1b45cf763ec62988fcc0923aa314f930eb4b (diff)
downloadaur-a278204ad3986f16d449df8607b9a3e76b62e456.tar.gz
Updated to version 0.2.5a
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD12
-rw-r--r--qtgrace.install30
3 files changed, 39 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3cf949929188..e11019fac694 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 89f2b791c52b..3f0b14171cfe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}
+
+