blob: 07e197f699bbe54cf0de1ae1678fb9479f9728a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
# Contributor: Knut Franke <Knut.Franke ad gmx dot de>
# Contributor: Olaf Leidinger <leidola at newcon dot de>
# Contributor: Robal <nigrantis.tigris at gmail dot com>
# Contributor: Alexander <chronischzuspaet at gmail dot com> Kempen
pkgname=scidavis
pkgver=1.17
pkgrel=1
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'
'qwt5' 'qwtplot3d')
source=("http://prdownloads.sourceforge.net/sourceforge/scidavis/${pkgname}-${pkgver}.tar.gz"
"https://sourceforge.net/p/scidavis/scidavis-bugs/_discuss/thread/fa133ad9/b8d8/attachment/scidavis-qwt5.patch")
sha512sums=('c8bb18bfcbffa8f6fae21f9b4058e9c2f0fe6815b80a4c32da487bf34b6395c2ff617b1f1c6bbe2136cea4a40f164ef7bd5d24aaa74427f86e68cd92e80fb2b4'
'dee0ee8e6651467c9cd4d300d75c43b4379619900282a25153918c34c0dd506aa30ac77894d8a760ba3fb7b4290646c6e460305025635f13975bc6e13ebec432')
install="${pkgname}.install"
prepare() {
# fix qwt
cd "${pkgname}-${pkgver}"
patch -p1 -i "../scidavis-qwt5.patch"
}
build() {
cd "${pkgname}-${pkgver}"
qmake-qt4
make
}
package() {
cd "${pkgname}-${pkgver}"
make INSTALL_ROOT="${pkgdir}" DESTDIR="${pkgdir}" install
# 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"
}
|