summaryrefslogtreecommitdiff
path: root/scidavis/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-01 08:47:44 +0200
committerErich Eckner <git@eckner.net>2017-06-01 08:48:33 +0200
commit06786b4c0b1e11b3a2bf6d4fcb04f866c97e4df5 (patch)
treeba523592d5306ceaa9f96668005820b66f0389b3 /scidavis/PKGBUILD
parentbac6452b48e94f5d5ca4adecfc29b110edb2133b (diff)
downloadarchlinuxewe-06786b4c0b1e11b3a2bf6d4fcb04f866c97e4df5.tar.xz
scidavis: 1.14-1 -> 1.14-2
Diffstat (limited to 'scidavis/PKGBUILD')
-rw-r--r--scidavis/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/scidavis/PKGBUILD b/scidavis/PKGBUILD
index c802c43ed..8c39855bf 100644
--- a/scidavis/PKGBUILD
+++ b/scidavis/PKGBUILD
@@ -7,21 +7,26 @@
pkgname=scidavis
pkgver=1.14
-pkgrel=1
+pkgrel=2
pkgdesc="Application for Scientific Data Analysis and Visualization, fork of QtiPlot"
arch=('i686' 'x86_64')
url="http://scidavis.sourceforge.net/"
license=('GPL')
makedepends=('boost' 'cmake')
depends=('gsl' 'glu' 'mesa' 'muparser' 'python2-pyqt4' 'shared-mime-info'
- 'qt-assistant-compat' 'qwt5' 'qwtplot3d')
-source=(http://prdownloads.sourceforge.net/sourceforge/scidavis/${pkgname}-${pkgver}.tar.gz
- scidavis-qwt5.patch)
+ 'qwt5' 'qwtplot3d')
+source=("http://prdownloads.sourceforge.net/sourceforge/scidavis/${pkgname}-${pkgver}.tar.gz"
+ "https://sourceforge.net/p/scidavis/scidavis-bugs/_discuss/thread/e0094938/8b60/attachment/fix_wrong_values_on_parameters_errors.patch"
+ "https://sourceforge.net/p/scidavis/scidavis-bugs/_discuss/thread/fa133ad9/b8d8/attachment/scidavis-qwt5.patch")
md5sums=('6b5fd39c17ed67cd64c77ac214099b2e'
- '28877fda6842869aa07d0bec50c49fa5')
-install=${pkgname}.install
+ '89247212a4fdaa34894a6562fa2b2457'
+ '4166c8637deb81bce31d5ee511586245')
+install="${pkgname}.install"
prepare() {
+ # fix https://sourceforge.net/p/scidavis/scidavis-bugs/276/
+ patch -p0 -i "fix_wrong_values_on_parameters_errors.patch" "${pkgname}-${pkgver}/libscidavis/src/Fit.cpp"
+
# fix qwt
patch -p0 -i "scidavis-qwt5.patch"
}
@@ -38,6 +43,9 @@ package() {
# remove liborigin files since it uses static library
rm -rf "${pkgdir}/usr/local"
-}
+ # install desktop file and icon
+ install -Dm644 "scidavis/scidavis.desktop" "${pkgdir}/usr/share/applications/scidavis.desktop"
+ install -Dm644 "scidavis/icons/scidavis.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/scidavis.svg"
+}