blob: 2c236039bf5fdf8fc28d49373d9bb836ed437515 (
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
|
# Maintainer: b00rt00s ( bomby dot zrzuc at gmail dot com )
# Contributor: XavierCLL <xavier.corredor.llano (a) gmail.com>
pkgname=labplot-kf5
pkgver=2.2.0
pkgrel=1
pkgdesc="A free software data analysis and visualization application, for two and three-dimensional graphical presentation of data sets and functions."
arch=('i686' 'x86_64')
url='http://labplot.sourceforge.net/'
license=('GPL')
depends=('kdebase-runtime' 'gsl')
makedepends=('cmake' 'extra-cmake-modules' 'kdoctools')
source=("http://download.kde.org/stable/labplot/${pkgver}/labplot-${pkgver}-kf5.tar.xz" "labplot-kf5.install")
md5sums=('1985522cbd731f66b38f8fcc0cd96b20'
'7dd4a598d34b8e21411dec1247752d99')
install='labplot-kf5.install'
prepare() {
( cd "${srcdir}/labplot-${pkgver}-kf5"
sed -i 's/isnan/std::isnan/g' `grep "isnan" -rl`
sed -i 's/<math\.h>/<cmath>/g' `grep "math.h" -rl` )
mkdir -p build
}
build() {
cd build
cmake ../labplot-${pkgver}-kf5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DSYSCONF_INSTALL_DIR=/etc \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
|