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
542 B
25 lines
542 B
9 years ago
|
#!/bin/sh -e
|
||
|
|
||
|
dir_prefix="%PREFIX%"
|
||
|
dir_runtime="%RUNTIME%"
|
||
9 years ago
|
dir_libdir="%LIBDIR%"
|
||
|
dir_datadir="%DATADIR%"
|
||
9 years ago
|
|
||
|
files="
|
||
9 years ago
|
$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
|
||
9 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"
|
||
9 years ago
|
done
|
||
|
|
||
|
cd "$dir_runtime" && ./nx
|