blob: b99143c6dd8da46cfa38fd54192101029de63678 (
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
50
51
52
53
54
55
56
57
58
|
# Maintainer: Bruno Silva <brunofernandes at ua dot pt>
## useful links
# https://alphaplot.sourceforge.io/
# https://github.com/narunlifescience/AlphaPlot
_pkgname="alphaplot"
pkgname="$_pkgname-git"
pkgver=1.02.r23.g9170e6d5
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'
'git'
'glu'
'qt5-tools'
)
provides=("$_pkgname=${pkgver%%.r*}")
conflicts=(
"$_pkgname"
'alphaplot-bin'
)
_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
git describe --long --tags --exclude='*[a-zA-Z][a-zA-Z]*' \
| sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$_pkgsrc"
# Note: PREFIX is not used
qmake
make
}
package() {
cd "$_pkgsrc"
# Note: DESTDIR is ignored
make INSTALL_ROOT="$pkgdir" install
}
|