summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 965529ffd30b72f1ca0b3f3d36bec3a1d4354a81 (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
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=labplot-git
pkgver=2.7.0.r21.gdb85858bb
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=('cantor' 'netcdf' 'cfitsio' 'fftw' 'gsl' 'qt5-serialport' 'libcerf')
makedepends=('extra-cmake-modules' 'kdelibs4support' 'kdesignerplugin' 'kdoctools' 'git')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=(git://anongit.kde.org/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
  make
}

package(){
  cd build
  make DESTDIR="$pkgdir" install
}