diff options
Diffstat (limited to '.fmsbw')
-rwxr-xr-x | .fmsbw/50-ubuntu22-appimage | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.fmsbw/50-ubuntu22-appimage b/.fmsbw/50-ubuntu22-appimage new file mode 100755 index 0000000..4be3f6b --- /dev/null +++ b/.fmsbw/50-ubuntu22-appimage @@ -0,0 +1,32 @@ +#!/bin/sh +set -ex + +#apt-get update -o APT::Cache-Start=100000000 +#apt-get install -o APT::Cache-Start=100000000 -y fuse libfuse2 imagemagick wget file binutils libglib2.0-bin +#mkdir -p ~/pkg2appimage +#cd ~/pkg2appimage +#wget -O pkg2appimage.AppImage https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage-1eceb30-x86_64.AppImage +#chmod +x pkg2appimage.AppImage +# FIXME: We could get automatic mounting to work with fusefs in the host and by exposesing /dev/fuse. +#./pkg2appimage.AppImage --appimage-extract + +~/pkg2appimage/squashfs-root/AppRun AppImage.yml +cd out +rename 's/.*\.glibc/Applause-nightly-glibc/' *.AppImage +chmod a+x *.AppImage + +mkdir -p /opt/htdocs/downloads/nightly/ +mv *.AppImage /opt/htdocs/downloads/nightly/ +cd .. + +# NOTE: The LDoc version from LuaRocks is just as old. +# Also, it does not appear to contain a Markdown plugin as is claimed +# in the documentation. +# This could also be done in a freebsd14-small pod. +apt-get install -o APT::Cache-Start=100000000 -y rename lua-ldoc lua-discount + +# We apparently cannot change what page is shown in index.html, +# so we rename it to api.html and redirect in index.html. +ldoc -o api . +echo '<html><head><meta http-equiv="refresh" content="0; URL=topics/README.md.html"/>' >doc/index.html +cp -r doc/* /opt/htdocs/ |