New package: The-Powder-Toy-94.1
This commit is contained in:
parent
d2d1ea4dcb
commit
9059f66475
1 changed files with 28 additions and 0 deletions
28
srcpkgs/The-Powder-Toy/template
Normal file
28
srcpkgs/The-Powder-Toy/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue