ports/main/powder-toy/APKBUILD

41 lines
950 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=powder-toy
pkgver=96.2.350
pkgrel=0
pkgdesc="Desktop version of the classic falling sand physics sandbox, simulates air pressure, velocity & heat!"
url="http://powdertoy.co.uk/"
arch="all"
license="GPL-3.0-only"
makedepends="
meson
cmake
sdl2-dev
fftw-dev
bzip2-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"
builddir="$srcdir/The-Powder-Toy-$pkgver"
build() {
abuild-meson \
-Dstatic=system \
-Dhttp=false \
-Dlua=none \
build
meson compile ${JOBS:+-j ${JOBS}} -C build
}
package() {
cd "$builddir/build"
install -Dm755 "powder" "$pkgdir/usr/bin/powder"
}
sha512sums="
566def511fc77531ddf202c7660a9f78bd1371f5d361aadbc68c664b2d6425865a30ef611785db22472378905acf47c168a2692f3d79f864534d17a2667ec425 powder-toy-96.2.350.tar.gz
"