blob: f97ce354033e9abd0ebe684b812cb5e02b85a0b3 (
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
|
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
pkgname=wxmaxima
pkgver=25.01.0
pkgrel=1
pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
arch=(x86_64)
url="https://github.com/${pkgname}-developers/${pkgname}"
license=(GPL-2.0-or-later)
depends=(maxima wxwidgets-gtk3 webkit2gtk-4.1)
makedepends=(cmake)
checkdepends=(xorg-server-xvfb)
optdepends=('bash-completion: for completion when using bash'
'man-db: manual pages for wxMaxima')
source=(${pkgname}-Version-${pkgver}.tar.gz::${url}/archive/Version-${pkgver}.tar.gz)
sha512sums=('6453bfd04759e14a8d84ec8dde944511a13a19b1964fe23ece1f5f72088fe4e3ed7885d587c5bb0e7c8dca2a46ae8accc8241a04ecf039f17ac6b80a26dd4222')
build() {
cmake \
-S ${pkgname}-Version-${pkgver} \
-B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_STANDARD=14 \
-DCMAKE_CXX_COMPILER=g++ \
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config \
-Wno-dev
cmake --build build
}
# check() {
# cmake --build build --target update-locale
# xvfb-run -a ctest --test-dir build # ./build/src/wxmaxima build/test/automatic_test_files/testbench_simple2.mac.wxmx
# }
package() {
DESTDIR="${pkgdir}" cmake --install build
}
|