void-packages/srcpkgs/xaos/template
2021-01-19 15:49:35 +01:00

29 lines
895 B
Bash

# Template file for 'xaos'
pkgname=xaos
version=4.2.1
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=bf21d3f50d7c1626c5c96da475f84ea24d24a164ec6cc2bbc4ee229bc4a65967
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
}