diff options
author | Erich Eckner <git@eckner.net> | 2019-01-30 07:32:05 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-30 07:32:05 +0100 |
commit | c2938dbbbbd0805c2edf6f7ff3b217482c2e3526 (patch) | |
tree | 6ddc3af17e13e7f9fddcc5da1ce64065031c98a7 /manualPorts/hyperrogue | |
parent | fcefb7fd62e66b325902182e88d779e8913ae17b (diff) | |
download | crux-ports-c2938dbbbbd0805c2edf6f7ff3b217482c2e3526.tar.xz |
hyperrogue: minor cleanup
Diffstat (limited to 'manualPorts/hyperrogue')
-rw-r--r-- | manualPorts/hyperrogue/.signature | 4 | ||||
-rw-r--r-- | manualPorts/hyperrogue/Pkgfile | 2 | ||||
-rwxr-xr-x | manualPorts/hyperrogue/lastVersion.sh | 8 |
3 files changed, 11 insertions, 3 deletions
diff --git a/manualPorts/hyperrogue/.signature b/manualPorts/hyperrogue/.signature index 038e668..96f8677 100644 --- a/manualPorts/hyperrogue/.signature +++ b/manualPorts/hyperrogue/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/deepthought.pub -RWQxCptPusLGGnWKzPrK4tRWOyZeGi2ej9YMLKROHMBG4rhoS9ljksFNtvm3ERIl/421XzHtoPdKxi8fHmdNknj6apUmoiovAQc= -SHA256 (Pkgfile) = 1448bb51ad79f8d5465454559487679cad598cb6de8ddfc89b6b0f8599d5dfac +RWQxCptPusLGGg5GYRYansLBiyHnpyqBDdgzwsywx8exMWsRYi8D2qmH/M9aMkFPoK9Ah0iV+EdjGwo7WtrpeccwgAuh8oNrmQI= +SHA256 (Pkgfile) = 75d95c8ed85c737805c68a270ff03177f4fd05c90f329e856ad78a59c1d1d874 SHA256 (.footprint) = e27264233e2c6cf51e6e2f98efb639869e3201586d79ffe656724d6e3dc3926e SHA256 (hyperrogue105d-src.tgz) = be59369109ad5705e60a0487d43407f68333283f5b51a484ad5dec4b762940d3 diff --git a/manualPorts/hyperrogue/Pkgfile b/manualPorts/hyperrogue/Pkgfile index 0b39ca3..28e13d6 100644 --- a/manualPorts/hyperrogue/Pkgfile +++ b/manualPorts/hyperrogue/Pkgfile @@ -11,7 +11,7 @@ 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|TTF_OpenFont.*;|TTF_OpenFont("/usr/share/fonts/X11/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 diff --git a/manualPorts/hyperrogue/lastVersion.sh b/manualPorts/hyperrogue/lastVersion.sh new file mode 100755 index 0000000..eab24b6 --- /dev/null +++ b/manualPorts/hyperrogue/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +curl -Ss 'http://www.roguetemple.com/z/hyper/download.php' | \ + sed ' + s,^.*<a href="hyperrogue\([0-9]\+[a-z]\)-src.tgz">[^<>]\+ source code</a>.*$,\1, + t + d + ' |