Initial commit

This commit is contained in:
Mossfet 2023-06-05 18:36:53 +01:00
commit acbf39e6e9

44
PKGBUILD Normal file
View file

@ -0,0 +1,44 @@
pkgname=mossfets-life
pkgver=0.9.4
pkgrel=1
pkgdesc="A GTK Game of Life implementation"
arch=('any')
url="https://mossfet.xyz/projects/life/"
license=(GPL3)
groups=()
depends=(
gtk4
libadwaita
)
makedepends=(
meson
git
cargo-nightly
)
optdepends=()
checkdepends=(appstream-glib)
provides=()
conflicts=()
replaces=()
backup=()
options=()
_commit=06794fe0aff4c73c8d29d46d5d89b12ef1a4a12e
source=("git+https://git.solarpunk.moe/mossfet/game-of-life-gui.git#commit=$_commit")
b2sums=('SKIP')
prepare() {
cd game-of-life-gui
export RUSTUP_TOOLCHAIN=nightly
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
arch-meson game-of-life-gui build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}