New package: The-Powder-Toy-94.1

This commit is contained in:
Illia Shestakov 2019-09-02 17:43:52 +03:00 committed by John Zimmermann
parent d2d1ea4dcb
commit 9059f66475

View file

@ -0,0 +1,28 @@
# Template file for 'The-Powder-Toy'
pkgname=The-Powder-Toy
version=94.1
revision=1
build_style=scons
make_build_args="--output=powder"
makedepends="SDL2-devel lua51-devel fftw-devel bzip2-devel zlib-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=9770c0732c97e4e89a1e53330c969e9675595f78e6673c519c3724d6df591e72
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
}