blob: 8dd7ea0b38dfda4ec03797f89c648ff285022e51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
DESC="Server for supertuxkart"
DEPS="supertuxkart-data"
package () {
cd "$BUILD_ROOT"
DESTDIR="$PKG_DEST" cmake --install build-server
mv "$PKG_DEST"/usr/bin/supertuxkart \
"$PKG_DEST"/usr/bin/supertuxkart-server
rm -r "${PKG_DEST:?}"/usr/share/
install -Dm644 "$BUILD_ROOT"/server_config.xml \
"$PKG_DEST"/usr/share/supertuxkart/data/server_config.xml
}
|