blob: 38384acde1bb650228303bd5954e97a9dbfb7f54 (
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
|
# Maintainer: João Figueiredo <jf dot mundox at gmail dot com>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=labplot-git
pkgver=2.7.0.r805.g2b12b7900
pkgrel=1
arch=('x86_64')
pkgdesc="KDE Application for interactive graphing and analysis of scientific data, build from git"
url="https://labplot.kde.org/"
license=('GPL2')
depends=('netcdf' 'cfitsio' 'fftw' 'gsl' 'qt5-serialport' 'libcerf')
makedepends=('extra-cmake-modules' 'kdelibs4support' 'kdesignerplugin' 'kdoctools' 'git')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=('git+https://github.com/KDE/labplot.git')
sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
git describe --always | sed 's+-+.r+' | tr - .
}
build() {
[[ -d build ]] || mkdir build
cd build
cmake ../${pkgname%-git} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE-CANTOR=OFF
make
}
package(){
cd build
make DESTDIR="$pkgdir" install
}
|