# Template file for 'qcas'
pkgname=qcas
version=0.5.4
revision=1
build_style=qmake
configure_args="qcas.pro"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
makedepends="giac-devel qt5-svg-devel"
depends="desktop-file-utils giac"
short_desc="QT frontend to Giac/Xcas"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://webusers.imj-prg.fr/~frederic.han/qcas/"
distfiles="https://gitlab.math.univ-paris-diderot.fr/han/qcas/-/archive/${version}/qcas-${version}.tar.gz"
checksum=816506b4d9c4a31962f8a6be6d06f0d6bd8f6e35f10e992a342c66d861211a30

do_install() {
	vbin qcas
	vinstall debian/qcas.desktop 644 usr/share/applications
	vinstall xcas.ico 644 usr/share/pixmaps
}
