diff --git a/srcpkgs/qcas/template b/srcpkgs/qcas/template new file mode 100644 index 00000000000..239b7a5cadb --- /dev/null +++ b/srcpkgs/qcas/template @@ -0,0 +1,25 @@ +# 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="cr6git " +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 +}