mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 01:42:13 +08:00
29 lines
795 B
Bash
29 lines
795 B
Bash
pkgname=wxmaxima
|
|
pkgver=17.10.1
|
|
pkgrel=1
|
|
pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
|
|
arch=('x86_64')
|
|
url="http://andrejv.github.io/wxmaxima/index.html"
|
|
license=('GPL2')
|
|
depends=('maxima' 'libxml2' 'wxgtk') # 'ttf-linux-libertine' required?
|
|
makedepends=('cmake' 'doxygen')
|
|
source=($pkgname-$pkgver.tar.gz::"https://github.com/andrejv/wxmaxima/archive/Version-$pkgver.tar.gz")
|
|
install=wxmaxima.install
|
|
sha1sums=('fd0c586705ccddfebd6f57be704fc6b23231adf0')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-Version-${pkgver}"
|
|
cmake . \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-Version-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# Fix category in .desktop file
|
|
sed -i '/Categories=/c\Categories=Science;Math;' data/wxMaxima.desktop
|
|
}
|