30 lines
893 B
Bash
30 lines
893 B
Bash
# Template file for 'xaos'
|
|
pkgname=xaos
|
|
version=4.2
|
|
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=7910e5f935d5d9db7947f4339087de88ca057428490e5ce5540d271f81cbc09c
|
|
|
|
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
|
|
}
|