# Contributor: Alex Denes # Maintainer: Alex Denes pkgname=powder-toy pkgver=97.0.352 pkgrel=0 pkgdesc="Desktop version of the classic falling sand physics sandbox, simulates air pressure, velocity & heat!" url="http://powdertoy.co.uk/" # riscv64: textrels # ppc64le: luajit arch="all !ppc64le !riscv64" license="GPL-3.0-only" makedepends=" bzip2-dev curl-dev fftw-dev jsoncpp-dev libpng-dev luajit-dev meson sdl2-dev zlib-dev " source=" $pkgname-$pkgver.tar.gz::https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v$pkgver.tar.gz " options="!check" # no test suite builddir="$srcdir/The-Powder-Toy-$pkgver" build() { abuild-meson \ -Db_lto=true \ . build meson compile -v -C build } package() { cd "$builddir/build" install -Dm755 "powder" "$pkgdir/usr/bin/powder" } sha512sums=" 001905b659efc4b4563f1918a3ae83ccc6f3727b26156a189191573e78548b8b7966b73423cf98f0fc8ddf5e77b32364bddc6566196b7bf7e9f88f2189947ed4 powder-toy-97.0.352.tar.gz "