blob: 55be6773a6dc75184939e199efb10b7e95a0da74 (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=wxmaxima-git
pkgver=20.12.2.r43.gdffcb10c7
pkgrel=1
pkgdesc="A document based interface for the computer algebra system Maxima."
arch=('i686' 'x86_64')
url="https://wxmaxima-developers.github.io/wxmaxima/"
license=('GPL2')
depends=('maxima' 'wxgtk2' 'openmp')
makedepends=('git' 'texi2html' 'cmake')
optdepends=('gnuplot: for plotting')
conflicts=('wxmaxima')
provides=('wxmaxima')
source=("git+https://github.com/wxMaxima-developers/wxmaxima.git")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
git describe --tags --long | cut -c9- | sed 's+-+.r+' |tr - .
}
build() {
cd ${pkgname%-git}
[ -d build ] || mkdir build
cd build
cmake ..
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr --build .
make
}
package() {
cd ${pkgname%-git}/build
make DESTDIR="$pkgdir" install
}
|