1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: Eric Bélanger <eric@archlinux.org>
7 pkgdesc='Interactive fractal zoomer'
9 url='https://xaos-project.github.io/'
11 makedepends=(gendesk git qt5-tools)
13 source=("git+https://github.com/xaos-project/XaoS#commit=632a48b088326a916e7c6f8fdb4a549ddfcbc7c0") # tag: release-4.2.1
18 sed -i '30i#include <cstdlib>' XaoS/src/util/timers.cpp
23 --pkgdesc="$pkgdesc" \
26 --categories='Application;Graphics'
31 export DEFINES='USE_OPENGL USE_FLOAT128'
39 install -Dm755 bin/xaos "$pkgdir/usr/bin/xaos"
41 # Tutorial and catalogs
42 install -d "$pkgdir/usr/share/XaoS/"
43 cp -r tutorial catalogs "$pkgdir/usr/share/XaoS"
46 install -d "$pkgdir/usr/share/XaoS/examples"
47 find examples -name "*.xpf" -exec install -Dm644 -t "$pkgdir"/usr/share/XaoS/examples/ {} \;
49 # Desktop shortcut and icon
50 install -Dm644 ../XaoS.desktop \
51 "$pkgdir/usr/share/applications/$pkgname.desktop"
52 install -Dm644 "src/ui/images/xaosbig.png" \
53 "$pkgdir/usr/share/pixmaps/$pkgname.png"
56 install -Dm644 doc/xaos.6 "$pkgdir/usr/share/man/man6/xaos.6"