blob: 597e0a9edf7d7be57ec3c6130c0e939045fb1eab (
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
|
# Maintainer: Ruben Bekaert <bekaertruben@gmail.com>
pkgname=gplates
pkgdesc="GPlates is a plate tectonics program. Manipulate reconstructions of geological and paleogeographic features through geological time. Interactively visualize vector, raster and volume data."
url="https://www.gplates.org"
license=(GPLv2)
arch=(any)
pkgver=2.5.0
pkgrel=1
# Some of these dependencies are not listed in the documentation, but are used anyways. These might be optional.
depends=(libgl glu glew python python-numpy boost qt5-base qt5-svg qt5-xmlpatterns gdal cgal proj qwt zlib graphviz gmp mpfr arrow)
makedepends=(cmake doxygen patchelf)
source=(
"${pkgname}_${pkgver}_src.tar.bz2::https://www.earthbyte.org/download/10128/"
"icon.png"
"gplates.desktop"
"qwt63_patch.diff" # delete this for next version
)
sha256sums=(
"3b8bf9e719a77480ca6215ed34304282bf86b3c78d8275f76e2eef2d33c594cb"
"9335fb98b21bc03c1cbec21ca945bded6ac60f66bb14997654b1829c1bd7265b"
"c9cf5e841e3bc1e730c5c1fa00a1137f532de4c2859637e67d1682f021eebb11"
"989a415510e0a287e1c421ea967fc13ad177d2beb54f269f7d2aa5faa99e1446"
)
prepare() {
cd "${srcdir}/${pkgname}_${pkgver}_src"
patch --forward --strip=0 --input="${srcdir}/qwt63_patch.diff"
}
build() {
cd "${srcdir}/${pkgname}_${pkgver}_src"
cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_BUILD_TYPE=Release .
make
}
package() {
cd "${srcdir}/${pkgname}_${pkgver}_src"
make DESTDIR="${pkgdir}/" install
install "${srcdir}/icon.png" -t "${pkgdir}/usr/share/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
}
|