# Description: You are a lone outsider in a strange, non-Euclidean hyperbolic world. # URL: http://www.roguetemple.com/z/hyper.php # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: mesa3d ttf-dejavu glu sdl_gfx sdl_ttf sdl_mixer name=hyperrogue version=12.1a release=1 source=("https://github.com/zenorogue/hyperrogue/archive/refs/tags/v${version}.tar.gz") build() { cd "$SRC/$name-${version}" sed -i 's|TTF_OpenFont.*;|TTF_OpenFont("/usr/share/fonts/X11/TTF/DejaVuSans-Bold.ttf", siz);|' basegraph.cpp #sed -i 's||"SDL.h"|' /usr/include/SDL/SDL_gfxPrimitives.h # todo: confirm bug and open sed -i 's|-c hyper.cpp|& -I/usr/include/SDL/|' Makefile # remove when above bug is fixed sed -i 's|-Werror||' Makefile make install -Dm755 hyperrogue "$PKG/usr/bin/hyperrogue" }