30 lines
892 B
Bash
30 lines
892 B
Bash
# Template file for 'The-Powder-Toy'
|
|
pkgname=The-Powder-Toy
|
|
version=95.0
|
|
revision=1
|
|
build_style=scons
|
|
make_build_args="--output=powder"
|
|
makedepends="SDL2-devel lua51-devel fftw-devel bzip2-devel zlib-devel
|
|
libcurl-devel"
|
|
short_desc="Falling sand physics sandbox, simulates air pressure, velocity & heat"
|
|
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://powdertoy.co.uk/"
|
|
distfiles="https://github.com/The-Powder-Toy/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=f60c3dc93e4ceddeda92b768e75a2d218f8df3da4a569b7d7cb57fff5515e15b
|
|
CPPDEFINES=IGNORE_UPDATES
|
|
|
|
case "$XBPS_TARGET_MACHINE"
|
|
in x86_64*|i686*)
|
|
;;
|
|
*)
|
|
make_build_args+=" --no-sse";;
|
|
esac
|
|
|
|
do_install() {
|
|
vbin build/powder
|
|
vdoc README.md
|
|
vinstall resources/powder.desktop 664 /usr/share/applications/
|
|
vinstall resources/icon/powder-256.png 644 /usr/share/pixmaps/ powder.png
|
|
}
|