diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -1,13 +1,13 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=wxmaxima-git -pkgver=r4695.be4a20c2 +pkgver=r4748.1e2bafbe 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') +makedepends=('git' 'texi2html' 'cmake') conflicts=('wxmaxima') provides=('wxmaxima') source=("git+https://github.com/andrejv/wxmaxima.git") @@ -21,16 +21,13 @@ pkgver() { build() { cd "$srcdir/wxmaxima" - export WX_CONFIG_PATH=/usr/bin/wx-config - export CXXFLAGS+=" -fno-delete-null-pointer-checks" - LANG=C - ./bootstrap - ./configure --with-wx-config=/usr/bin/wx-config --prefix=/usr - make - make allmo + [ -d build ] || mkdir build + cd build + cmake .. + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr --build . } package() { - cd "$srcdir/wxmaxima" + cd "$srcdir/wxmaxima/build" make DESTDIR="$pkgdir" install } |