diff options
Diffstat (limited to 'enemy-territory')
-rw-r--r-- | enemy-territory/.footprint | 22 | ||||
-rw-r--r-- | enemy-territory/.md5sum | 4 | ||||
-rw-r--r-- | enemy-territory/Pkgfile | 41 | ||||
-rw-r--r-- | enemy-territory/README | 13 | ||||
-rw-r--r-- | enemy-territory/et | 15 |
5 files changed, 55 insertions, 40 deletions
diff --git a/enemy-territory/.footprint b/enemy-territory/.footprint index 13545793f..52199d8ca 100644 --- a/enemy-territory/.footprint +++ b/enemy-territory/.footprint @@ -11,6 +11,7 @@ drwxr-xr-x root/root usr/share/enemy-territory/ drwxr-xr-x root/root usr/share/enemy-territory/etmain/ -rw-r--r-- root/root usr/share/enemy-territory/etmain/campaigncycle.cfg -rw-r--r-- root/root usr/share/enemy-territory/etmain/cgame.mp.i386.so +-rw-r--r-- root/root usr/share/enemy-territory/etmain/etkey -rw-r--r-- root/root usr/share/enemy-territory/etmain/hunkusage.dat -rw-r--r-- root/root usr/share/enemy-territory/etmain/lmscycle.cfg -rw-r--r-- root/root usr/share/enemy-territory/etmain/mp_bin.pk3 @@ -26,21 +27,22 @@ drwxr-xr-x root/root usr/share/enemy-territory/etmain/ drwxr-xr-x root/root usr/share/enemy-territory/etmain/video/ -rw-r--r-- root/root usr/share/enemy-territory/etmain/video/etintro.roq drwxr-xr-x root/root usr/share/enemy-territory/pb/ +drwxr-xr-x root/root usr/share/enemy-territory/pb/dll/ +-rw-r--r-- root/root usr/share/enemy-territory/pb/dll/la001382.so +-rw-r--r-- root/root usr/share/enemy-territory/pb/dll/lc002254.so +-rw-r--r-- root/root usr/share/enemy-territory/pb/dll/ls001809.so drwxr-xr-x root/root usr/share/enemy-territory/pb/htm/ --rw-r--r-- root/root usr/share/enemy-territory/pb/htm/la001347.htm --rw-r--r-- root/root usr/share/enemy-territory/pb/htm/lc001152.htm --rw-r--r-- root/root usr/share/enemy-territory/pb/htm/ls001149.htm --rw-r--r-- root/root usr/share/enemy-territory/pb/htm/ma001347.htm --rw-r--r-- root/root usr/share/enemy-territory/pb/htm/mc001152.htm --rw-r--r-- root/root usr/share/enemy-territory/pb/htm/wa001347.htm --rw-r--r-- root/root usr/share/enemy-territory/pb/htm/wc001152.htm +-rw-r--r-- root/root usr/share/enemy-territory/pb/htm/la001382.htm +-rw-r--r-- root/root usr/share/enemy-territory/pb/htm/lc002254.htm +-rw-r--r-- root/root usr/share/enemy-territory/pb/htm/ls001809.htm +-rw-r--r-- root/root usr/share/enemy-territory/pb/htm/ma001382.htm +-rw-r--r-- root/root usr/share/enemy-territory/pb/htm/mc002254.htm +-rw-r--r-- root/root usr/share/enemy-territory/pb/htm/wa001382.htm +-rw-r--r-- root/root usr/share/enemy-territory/pb/htm/wc002254.htm -rw-r--r-- root/root usr/share/enemy-territory/pb/pbag.so -rw-r--r-- root/root usr/share/enemy-territory/pb/pbags.so --rw-r--r-- root/root usr/share/enemy-territory/pb/pbcl.db -rw-r--r-- root/root usr/share/enemy-territory/pb/pbcl.so -rw-r--r-- root/root usr/share/enemy-territory/pb/pbcls.so --rw-r--r-- root/root usr/share/enemy-territory/pb/pbsv.db -rw-r--r-- root/root usr/share/enemy-territory/pb/pbsv.so --rw-r--r-- root/root usr/share/enemy-territory/pb/pbweb.x86 drwxr-xr-x root/root usr/share/pixmaps/ -rw-r--r-- root/root usr/share/pixmaps/et.xpm diff --git a/enemy-territory/.md5sum b/enemy-territory/.md5sum index 09dc8f24f..3bd7d4a27 100644 --- a/enemy-territory/.md5sum +++ b/enemy-territory/.md5sum @@ -1,4 +1,6 @@ fb83b8732fc7373c277180b663debf57 ET-2.60b.zip f837afc4fbb11b911a2c4fd116fd70c2 enemy-territory.desktop -c9ba19810fb7ff697737008f8c0b17b4 et +311be7888fec13b8249e7fd01abbbac6 et 2d2373f29f02e18d365d7f1860eee435 et-linux-2.60.x86.run +941ad43a3cd34baa140f986cf5afd335 et_linux.zip +d1f8565ac7883471170ccbc951eec7e9 etkey.php diff --git a/enemy-territory/Pkgfile b/enemy-territory/Pkgfile index ef4f77ff7..a09dd7dc0 100644 --- a/enemy-territory/Pkgfile +++ b/enemy-territory/Pkgfile @@ -1,28 +1,37 @@ # Description: (FPS) computer game, and a standalone sequel to Return to Castle Wolfenstein. # URL: http://www.enemy-territory.com/ -# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net -# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net -# Depends on: xorg +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Packager: Jose V Beneyto, sepen at crux dot nu +# Depends on: mesa3d-32 name=enemy-territory version=2.60b -release=5 +release=6 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 ${name}.desktop) + ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/et/ET-$version.zip \ + http://www.etkey.org/et_linux.zip \ + http://etkey.org/etkey.php \ + et $name.desktop) 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 -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 -D -m 0644 tmp/ET.xpm ${PKG}/usr/share/pixmaps/et.xpm - install -D -m 0644 ${SRC}/${name}.desktop ${PKG}/usr/share/applications/${name}.desktop + + install -d $PKG/usr/share/$name/{etmain/video,pb/htm} + 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 -D -m 0644 tmp/ET.xpm $PKG/usr/share/pixmaps/et.xpm + install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop + # 2.60b patch - install -m 0755 Enemy\ Territory\ 2.60b/linux/*.x86 ${PKG}/usr/share/${name} - install -D -m 0755 ${SRC}/et ${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 -D -m 0755 $SRC/et $PKG/usr/bin/et + ln -sf /usr/bin/et $PKG/usr/bin/$name + + # pbsetup + cp -r $SRC/{pb*.so,dll,htm} $PKG/usr/share/$name/pb + + # etkey + install -m 0644 $SRC/etkey.php $PKG/usr/share/$name/etmain/etkey } diff --git a/enemy-territory/README b/enemy-territory/README index 955dc956c..911ec7fd9 100644 --- a/enemy-territory/README +++ b/enemy-territory/README @@ -2,14 +2,7 @@ README for enemy-territory 2.60b -POST-INSTALL + Evenbalance decided to stop all services for our loved game Wolfenstein + Enemy Territory. This spoils new player to join PunkBuster enabled server. - 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 + More information: http://etkey.org/ diff --git a/enemy-territory/et b/enemy-territory/et index b8d995dc7..c7c49c132 100644 --- a/enemy-territory/et +++ b/enemy-territory/et @@ -1,8 +1,17 @@ #!/bin/sh -cd /usr/share/enemy-territory -./et.x86 $@ -cd - +ET_HOME="/usr/share/enemy-territory" + +# check pbsetup + + +# check etkey +if [ ! -f $HOME/.etwolf/etmain/etkey ]; then + install -D $ET_HOME/etmain/etkey $HOME/.etwolf/etmain/etkey +fi + + +cd $ET_HOME && ./et.x86 $@ # End of File |