void-packages/srcpkgs/xaos/template
2020-07-03 14:51:42 +02:00

29 lines
893 B
Bash

# Template file for 'xaos'
pkgname=xaos
version=4.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=7e41e9fbdb73a7c02c853eb028943791fa9ca11120f39814eeae4cf66438e5bf
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
}