summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-29 23:06:13 +0100
committerErich Eckner <git@eckner.net>2019-01-29 23:06:13 +0100
commit9be2a5905440e3be6a23978d476bb9f63e005c4e (patch)
treedfd638bfd8ee2a7d79e9fa013d2aff88fa7e83d4
parent094f4b1da0dd26b5fc3705ff6d7926a2944891dd (diff)
downloadcrux-ports-9be2a5905440e3be6a23978d476bb9f63e005c4e.tar.xz
hyperrogue neu
-rw-r--r--manualPorts/hyperrogue/.footprint3
-rw-r--r--manualPorts/hyperrogue/.md5sum1
-rw-r--r--manualPorts/hyperrogue/.signature5
-rw-r--r--manualPorts/hyperrogue/Pkgfile20
4 files changed, 29 insertions, 0 deletions
diff --git a/manualPorts/hyperrogue/.footprint b/manualPorts/hyperrogue/.footprint
new file mode 100644
index 0000000..5b3480c
--- /dev/null
+++ b/manualPorts/hyperrogue/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/hyperrogue
diff --git a/manualPorts/hyperrogue/.md5sum b/manualPorts/hyperrogue/.md5sum
new file mode 100644
index 0000000..abeaad6
--- /dev/null
+++ b/manualPorts/hyperrogue/.md5sum
@@ -0,0 +1 @@
+e7a5ac252202debfb9fc7517d133bbd0 hyperrogue105d-src.tgz
diff --git a/manualPorts/hyperrogue/.signature b/manualPorts/hyperrogue/.signature
new file mode 100644
index 0000000..038e668
--- /dev/null
+++ b/manualPorts/hyperrogue/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGnWKzPrK4tRWOyZeGi2ej9YMLKROHMBG4rhoS9ljksFNtvm3ERIl/421XzHtoPdKxi8fHmdNknj6apUmoiovAQc=
+SHA256 (Pkgfile) = 1448bb51ad79f8d5465454559487679cad598cb6de8ddfc89b6b0f8599d5dfac
+SHA256 (.footprint) = e27264233e2c6cf51e6e2f98efb639869e3201586d79ffe656724d6e3dc3926e
+SHA256 (hyperrogue105d-src.tgz) = be59369109ad5705e60a0487d43407f68333283f5b51a484ad5dec4b762940d3
diff --git a/manualPorts/hyperrogue/Pkgfile b/manualPorts/hyperrogue/Pkgfile
new file mode 100644
index 0000000..0b39ca3
--- /dev/null
+++ b/manualPorts/hyperrogue/Pkgfile
@@ -0,0 +1,20 @@
+# 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=105d
+release=1
+source=("http://www.roguetemple.com/z/hyper/hyperrogue${version}-src.tgz")
+
+build() {
+
+ cd "$SRC/$name${version}-src"
+ sed -i 's|TTF_OpenFont.*;|TTF_OpenFont("/usr/share/fonts/TTF/DejaVuSans-Bold.ttf", siz);|' basegraph.cpp
+ #sed -i 's|<SDL.h>|"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"
+}