From 9dea3584621cab6469b867e74e7f16d327e5b984 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Wed, 18 Oct 2023 23:38:25 +0200 Subject: [PATCH] New package: uxn-1.0 --- srcpkgs/uxn/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/uxn/template diff --git a/srcpkgs/uxn/template b/srcpkgs/uxn/template new file mode 100644 index 0000000000000..5613bf2b4be3f --- /dev/null +++ b/srcpkgs/uxn/template @@ -0,0 +1,25 @@ +# Template file for 'uxn' +pkgname=uxn +version=1.0 +revision=1 +makedepends="SDL2-devel" +short_desc="Assembler and emulator for the Uxn stack-machine" +maintainer="Eloi Torrents " +license="MIT" +homepage="https://100r.co/site/uxn.html" +distfiles="https://git.sr.ht/~rabbits/uxn/archive/${version}.tar.gz" +checksum=29059ee288474e48fae4b9e755bbc8e1b392a9c7ac90449d7a6599385c145460 + +do_build() { + CC="$BUILD_CC" CFLAGS="$XBPS_CROSS_CFLAGS" ./build.sh +} + +do_install() { + vbin bin/uxnasm + vbin bin/uxncli + vbin bin/uxnemu +} + +post_install() { + vlicense LICENSE +}