Initial commit
This commit is contained in:
commit
acbf39e6e9
1 changed files with 44 additions and 0 deletions
44
PKGBUILD
Normal file
44
PKGBUILD
Normal 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"
|
||||
}
|
||||
|
Loading…
Reference in a new issue