void-packages/srcpkgs/xaos/template

30 lines
893 B
Bash

# Template file for 'xaos'
pkgname=xaos
version=4.0
revision=1
wrksrc="XaoS-release-${version}"
build_style=qmake
hostmakedepends="qt5-qmake qt5-devel which"
makedepends="qt5-devel gsl-devel"
short_desc="Fast interactive real-time fractal zoomer/morpher"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://xaos-project.github.io/"
distfiles="https://github.com/xaos-project/XaoS/archive/release-${version}.tar.gz"
checksum=2d72b38a53d975bfdb4ed828125f8e7017f70761d4f06249c5630367522f8e6f
pre_configure() {
vsed -i i18n/i18n.pri -e'/updateqm.commands/ s;lrelease;lrelease-qt5;'
}
do_install() {
vbin bin/xaos
vman doc/xaos.6
vmkdir usr/share/XaoS
vmkdir usr/share/XaoS/examples
vcopy tutorial usr/share/XaoS
# load random example doesn't work with subdirectories
vcopy "examples/*/*.xpf" usr/share/XaoS/examples
vcopy catalogs usr/share/XaoS
}