kiss-mfavila-small/ports/ROX-Filer/build

23 lines
459 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
cd ROX-Filer
sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c
sed -i 's/gboolean/extern &/' src/session.h
mkdir build
cd build
../src/configure LIBS="-lm -ldl"
make
cd ..
install -Dm755 style.css "$1/usr/share/rox/style.css"
for stuff in Help Messages Options.xml ROX images .DirIcon
2021-05-11 00:07:37 -04:00
do
mv $stuff "$1/usr/share/rox/$stuff"
2021-05-09 02:10:08 -04:00
done
install -Dm755 ../rox.1 "$1/usr/share/man/man1"
install -Dm755 ROX-Filer "$1/usr/bin/rox"