void-packages/srcpkgs/qcas/template

26 lines
738 B
Bash

# Template file for 'qcas'
pkgname=qcas
version=0.5.3
revision=1
build_style=qmake
configure_args="qcas.pro"
hostmakedepends="pkg-config"
makedepends="giac-devel qt5-svg-devel"
depends="desktop-file-utils giac"
short_desc="The 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://git.tuxfamily.org/qcas/qcas.git/snapshot/qcas-${version}.tar.gz"
checksum=06bc5aca9f6e367e75181c633a7d1f3e199f8c7b336c1d43bcafdf41f2cb807c
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel"
fi
do_install() {
vbin qcas
vinstall debian/qcas.desktop 644 usr/share/applications
vinstall xcas.ico 644 usr/share/pixmaps
}