summaryrefslogtreecommitdiff
path: root/repo/supertuxkart/supertuxkart-server.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/supertuxkart/supertuxkart-server.xibuild
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
Diffstat (limited to 'repo/supertuxkart/supertuxkart-server.xibuild')
-rw-r--r--repo/supertuxkart/supertuxkart-server.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/supertuxkart/supertuxkart-server.xibuild b/repo/supertuxkart/supertuxkart-server.xibuild
new file mode 100644
index 0000000..8dd7ea0
--- /dev/null
+++ b/repo/supertuxkart/supertuxkart-server.xibuild
@@ -0,0 +1,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
+}