summaryrefslogtreecommitdiff
path: root/enemy-territory
diff options
context:
space:
mode:
authorJose V Beneyto <joberui@ei.upv.es>2007-06-22 12:09:19 +0200
committerJose V Beneyto <joberui@ei.upv.es>2007-06-22 12:09:19 +0200
commite14ceb161280ab7894f4113d9f79891986940b4c (patch)
treea28c69561087043c90795e643736a5f43eda86f6 /enemy-territory
parenta45e27baa1700244e36c87d488db2dd7b8a31439 (diff)
downloadcontrib-e14ceb161280ab7894f4113d9f79891986940b4c.tar.gz
contrib-e14ceb161280ab7894f4113d9f79891986940b4c.tar.xz
enemy-territory: up-to-date punkbuster (thanks to pitillo and tilman), also added README file for instructions.
Diffstat (limited to 'enemy-territory')
-rw-r--r--enemy-territory/Pkgfile24
-rw-r--r--enemy-territory/README15
-rw-r--r--enemy-territory/et (renamed from enemy-territory/et.sh)0
3 files changed, 27 insertions, 12 deletions
diff --git a/enemy-territory/Pkgfile b/enemy-territory/Pkgfile
index cd1c80dbb..28745f3ba 100644
--- a/enemy-territory/Pkgfile
+++ b/enemy-territory/Pkgfile
@@ -6,23 +6,23 @@
name=enemy-territory
version=2.60b
-release=3
+release=4
source=(ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/et/linux/et-linux-2.60.x86.run \
ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/et/ET-2.60b.zip \
- et.sh)
+ et)
build() {
chmod +x et-linux-2.60.x86.run
./et-linux-2.60.x86.run --noexec --target tmp
- install -d $PKG/usr/share/$name/{etmain/video,pb/htm}
- install -d $PKG/usr/{bin,share/pixmaps}
- install -m 0644 tmp/etmain/*.{pk3,so,cfg,dat} $PKG/usr/share/$name/etmain
- install -m 0644 tmp/etmain/video/* $PKG/usr/share/$name/etmain/video
- install -m 0644 tmp/pb/*.{so,x86,db} $PKG/usr/share/$name/pb
- install -m 0644 tmp/pb/htm/* $PKG/usr/share/$name/pb/htm
- install -m 0644 tmp/ET.xpm $PKG/usr/share/pixmaps
+ install -d ${PKG}/usr/share/${name}/{etmain/video,pb/htm}
+ install -d ${PKG}/usr/{bin,share/pixmaps}
+ install -m 0644 tmp/etmain/*.{pk3,so,cfg,dat} ${PKG}/usr/share/${name}/etmain
+ install -m 0644 tmp/etmain/video/* ${PKG}/usr/share/${name}/etmain/video
+ install -m 0644 tmp/pb/*.{so,x86,db} ${PKG}/usr/share/${name}/pb
+ install -m 0644 tmp/pb/htm/* ${PKG}/usr/share/${name}/pb/htm
+ install -m 0644 tmp/ET.xpm ${PKG}/usr/share/pixmaps
# 2.60b patch
- install -m 0755 Enemy\ Territory\ 2.60b/linux/*.x86 $PKG/usr/share/$name
- install -m 0755 et.sh $PKG/usr/bin/et
- ln -sf /usr/bin/et $PKG/usr/bin/$name
+ install -m 0755 Enemy\ Territory\ 2.60b/linux/*.x86 ${PKG}/usr/share/${name}
+ install -m 0755 et ${PKG}/usr/bin/et
+ ln -sf /usr/bin/et ${PKG}/usr/bin/${name}
}
diff --git a/enemy-territory/README b/enemy-territory/README
new file mode 100644
index 000000000..955dc956c
--- /dev/null
+++ b/enemy-territory/README
@@ -0,0 +1,15 @@
+
+README for enemy-territory 2.60b
+
+
+POST-INSTALL
+
+ To have punkbuster up to date you need to download the lastest pbsetup.run
+ (http://websec.evenbalance.com/downloads/linux/pbsetup.run)
+ Execute it and setup the game you want in grafical mode (gtk) or from the
+ command line as shown:
+
+ $ cd /tmp; wget http://websec.evenbalance.com/downloads/linux/pbsetup.run
+ $ chmod +x pbsetup.run; ./pbsetup.run -l
+ $ sed -i 's|/usr/local/games/enemy-territory|/usr/share/enemy-territory|' pbgame.htm
+ $ ./pbsetup.run --i-accept-the-pb-eula --add-game=et
diff --git a/enemy-territory/et.sh b/enemy-territory/et
index b8d995dc7..b8d995dc7 100644
--- a/enemy-territory/et.sh
+++ b/enemy-territory/et

Generated by cgit