summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 084a3012dfb03111f82fca35338e78c1d0590f49 (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
48
49
# Maintainer:
# Contributor: Arun Narayanankutty <n.arun.lifescience@gmail.com>

## useful links
# https://alphaplot.sourceforge.io/
# https://github.com/narunlifescience/AlphaPlot

_pkgname="alphaplot"
pkgname="$_pkgname"
pkgver=1.02
pkgrel=1
pkgdesc="Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot"
url="https://github.com/narunlifescience/AlphaPlot"
arch=('i686' 'x86_64')
license=('GPL-2.0-or-later')

depends=(
  'gsl'
  'hicolor-icon-theme'
  'qt5-datavis3d'
  'qt5-script'
  'qt5-svg'
)
makedepends=(
  'boost'
  'cmake'
  'glu'
  'qt5-tools'
)

conflicts=(alphaplot-bin)

_pkgsrc="AlphaPlot-$pkgver"
_pkgext="tar.gz"
source=("$_pkgname-$pkgver.$_pkgext"::"$url/archive/refs/tags/$pkgver.$_pkgext")
sha256sums=('90952b2036b9d25b31c0c8fb34c47ff700bb2847234dda42d900070fc60d3c61')

build() {
  cd "$_pkgsrc"
  # Note: PREFIX is not used
  qmake
  make
}

package() {
  cd "$_pkgsrc"
  # Note: DESTDIR is ignored
  make INSTALL_ROOT="$pkgdir" install
}