Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
543 B

8 years ago
#!/bin/sh -e
dir_prefix="%PREFIX%"
dir_runtime="%RUNTIME%"
dir_libdir="%LIBDIR%"
dir_datadir="%DATADIR%"
8 years ago
files="
$dir_libdir/nxengine/nx
$dir_datadir/nxengine/font.ttf
$dir_datadir/nxengine/smalfont.bmp
$dir_datadir/nxengine/sprites.sif
$dir_datadir/nxengine/tilekey.dat
$dir_datadir/nxengine/Doukutsu.exe
$dir_datadir/nxengine/data
8 years ago
"
mkdir -p "$dir_runtime"
for file in $files; do
8 years ago
[ ! -L "$dir_runtime/$(basename "$file")" ] && ln -sf -t "$dir_runtime" "/$dir_prefix/$file"
8 years ago
done
cd "$dir_runtime" && ./nx