summaryrefslogtreecommitdiff
path: root/games/etlegacy/files
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-03-04 16:00:50 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-06 17:43:40 +0700
commit031a4ead6e65088d5dba9a8098e7e611b30427cd (patch)
treefe5d5efb49917c46ff438424e81df36a2046858d /games/etlegacy/files
parentb4ef43715231e920fee6f0910cc5d186019a3f74 (diff)
downloadslackbuilds-031a4ead6e65088d5dba9a8098e7e611b30427cd.tar.gz
games/etlegacy: Switch to packaging the original binaries.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/etlegacy/files')
-rw-r--r--games/etlegacy/files/etl5
-rw-r--r--games/etlegacy/files/etl_bot5
-rw-r--r--games/etlegacy/files/etlded5
-rw-r--r--games/etlegacy/files/etlded_bot5
-rw-r--r--games/etlegacy/files/get_tarball_from_git.sh31
5 files changed, 20 insertions, 31 deletions
diff --git a/games/etlegacy/files/etl b/games/etlegacy/files/etl
new file mode 100644
index 0000000000..f408cf6263
--- /dev/null
+++ b/games/etlegacy/files/etl
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Simple script to start ET Legacy client
+#
+cd /usr/share/etlegacy
+./etl $@
diff --git a/games/etlegacy/files/etl_bot b/games/etlegacy/files/etl_bot
new file mode 100644
index 0000000000..fbd6f79e3c
--- /dev/null
+++ b/games/etlegacy/files/etl_bot
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Simple script to start ET Legacy client/listen server with Omni-Bots
+#
+cd /usr/share/etlegacy
+./etl +set omnibot_enable 1 +set omnibot_path "./legacy/omni-bot"
diff --git a/games/etlegacy/files/etlded b/games/etlegacy/files/etlded
new file mode 100644
index 0000000000..8bbb916f73
--- /dev/null
+++ b/games/etlegacy/files/etlded
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Simple script to start ET Legacy dedicated server
+#
+cd /usr/share/etlegacy
+./etlded $@ +exec etl_server.cfg
diff --git a/games/etlegacy/files/etlded_bot b/games/etlegacy/files/etlded_bot
new file mode 100644
index 0000000000..f82942839c
--- /dev/null
+++ b/games/etlegacy/files/etlded_bot
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Simple script to start ET Legacy dedicated server with Omni-Bots
+#
+cd /usr/share/etlegacy
+./etlded +set g_protect 1 +set omnibot_enable 1 +set omnibot_path "./legacy/omni-bot" +exec etl_server.cfg
diff --git a/games/etlegacy/files/get_tarball_from_git.sh b/games/etlegacy/files/get_tarball_from_git.sh
deleted file mode 100644
index 42aaa1626d..0000000000
--- a/games/etlegacy/files/get_tarball_from_git.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-rm -fR /tmp/tmp-etlegacy
-mkdir -p /tmp/tmp-etlegacy
-cd /tmp/tmp-etlegacy
-git clone git://github.com/etlegacy/etlegacy.git
-cd etlegacy
-git submodule init
-git submodule update
-cd libs
-git archive master > ../../libs.tar
-cd ..
-cd scripts
-git archive master > ../../scripts.tar
-cd ..
-COMMIT=$( git log -1 | head -1 | cut -c 8-14 )
-COMMDATE=$( git log -1 --date=short | grep ^Date | awk '{print $2}' | sed 's/-//g' )
-rm -f /tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz
-git archive master > ../src.tar
-cd ..
-mkdir etlegacy-${COMMDATE}_${COMMIT}
-cd etlegacy-${COMMDATE}_${COMMIT}
-tar xf ../src.tar
-cd libs
-tar xf ../../libs.tar
-cd ..
-cd scripts
-tar xf ../../scripts.tar
-cd ..
-cd ..
-rm -f src.tar libs.tar scripts.tar
-tar Jcf /tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz etlegacy-${COMMDATE}_${COMMIT}
-echo "/tmp/etlegacy-${COMMDATE}_${COMMIT}.tar.xz done."