From 873665024ebfaa761ee49b508a79db7178aeb778 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 Jun 2022 15:08:04 +0100 Subject: added gnupg --- repo/supertux/supertux.xibuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 repo/supertux/supertux.xibuild (limited to 'repo/supertux/supertux.xibuild') diff --git a/repo/supertux/supertux.xibuild b/repo/supertux/supertux.xibuild new file mode 100644 index 0000000..f45766c --- /dev/null +++ b/repo/supertux/supertux.xibuild @@ -0,0 +1,33 @@ +#!/bin/sh + +NAME="supertux" +DESC="Open-source classic 2D jump'n run sidescroller game" + +MAKEDEPS="boost cmake curl freetype2 glew libpng libvorbis openal-soft physfs sdl2 glm sdl2-image" + +PKG_VER=0.6.3 +SOURCE="https://github.com/SuperTux/supertux/releases/download/v$PKG_VER/SuperTux-v$PKG_VER-Source.tar.gz" + +ADDITIONAL=" +missing-include-for-FLT_EPSILON.patch +" + +prepare () { + apply_patches +} + +build() { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DINSTALL_SUBDIR_BIN=bin + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --build build --target install +} -- cgit v1.2.1