< back to XBPS Crimes

uxn2-git

An emulator for the uxn virtual machine.

Template

# Template file for 'uxn2-git'
pkgname=uxn2-git
version=0git
revision=1
hostmakedepends="git"
makedepends="SDL2-devel"
depends="SDL2"
short_desc="Graphical emulator for the Varvara Computer, written in C99(SDL2)"
maintainer="[redacted]"
license="MIT"
homepage="https://git.sr.ht/~rabbits/uxn2"

do_fetch() {
	git clone https://git.sr.ht/~rabbits/uxn2 "$wrksrc"
}

do_install() {
	make PREFIX="$DESTDIR"/usr install
}

    

Notes

Like in this example on XBPS tutorials, we are fetching using git.

As per the build instructions, we need to use "PREFIX" to tell make to put it in the right place. Without this, make would put the files in ~/.local which is not allowed for packages.

The Green Goose (add this button to your website) Hosted on Neocities Edited with Vim - Improved & Free - I love my editor Enter the Void Anti-fascism The Mod Archive