blob: 414968b9505ae3f407ad4162e9cc7d08e2b85d5e (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=wxmaxima-git
pkgver=r4756.b321ea75
pkgrel=1
pkgdesc="A document based interface for the computer algebra system Maxima."
arch=('i686' 'x86_64')
url="http://andrejv.github.io/wxmaxima/index.html"
license=('GPL2')
depends=('maxima' 'wxgtk')
makedepends=('git' 'texi2html' 'cmake')
conflicts=('wxmaxima')
provides=('wxmaxima')
source=("git+https://github.com/andrejv/wxmaxima.git")
sha256sums=('SKIP')
options=('!makeflags')
pkgver() {
cd "$srcdir/wxmaxima"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/wxmaxima"
[ -d build ] || mkdir build
cd build
cmake ..
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr --build .
}
package() {
cd "$srcdir/wxmaxima/build"
make DESTDIR="$pkgdir" install
}
|