summaryrefslogtreecommitdiff
path: root/true-combat-elite
diff options
context:
space:
mode:
authorJose V Beneyto <sepen@crux.nu>2013-02-21 11:52:04 +0100
committerJose V Beneyto <sepen@crux.nu>2013-02-21 11:52:44 +0100
commitf232c2a2483808ed0b4c924e5512e9bd5535523d (patch)
tree1dc1f7fcbec3e2656e84ab695db58ec765c2dcfa /true-combat-elite
parent9020050160a60cc2e5f0570fddbfbe0a96ecbb05 (diff)
downloadcontrib-f232c2a2483808ed0b4c924e5512e9bd5535523d.tar.gz
contrib-f232c2a2483808ed0b4c924e5512e9bd5535523d.tar.xz
true-combat-elite: fixed sources, some perms and cleanup
Diffstat (limited to 'true-combat-elite')
-rw-r--r--true-combat-elite/.footprint7
-rw-r--r--true-combat-elite/.md5sum3
-rw-r--r--true-combat-elite/Pkgfile36
3 files changed, 26 insertions, 20 deletions
diff --git a/true-combat-elite/.footprint b/true-combat-elite/.footprint
index 7ed924f6a..4c10de02e 100644
--- a/true-combat-elite/.footprint
+++ b/true-combat-elite/.footprint
@@ -9,7 +9,7 @@ drwxr-xr-x root/root usr/share/enemy-territory/
drwxr-xr-x root/root usr/share/enemy-territory/tcetest/
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/ReadMe.rtf
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/autoexec.cfg
--rwxr-xr-x root/root usr/share/enemy-territory/tcetest/cgame.mp.i386.so
+-rw-r--r-- root/root usr/share/enemy-territory/tcetest/cgame.mp.i386.so
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/changelog.rtf
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/mp_bin.pk3
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/official.dat
@@ -18,8 +18,7 @@ drwxr-xr-x root/root usr/share/enemy-territory/tcetest/
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/pak2.pk3
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/pak3.pk3
-rw-r--r-- root/root usr/share/enemy-territory/tcetest/pak4.pk3
--rwxr-xr-x root/root usr/share/enemy-territory/tcetest/qagame.mp.i386.so
--rw-r--r-- root/root usr/share/enemy-territory/tcetest/readme_tce0490b.txt
--rwxr-xr-x root/root usr/share/enemy-territory/tcetest/ui.mp.i386.so
+-rw-r--r-- root/root usr/share/enemy-territory/tcetest/qagame.mp.i386.so
+-rw-r--r-- root/root usr/share/enemy-territory/tcetest/ui.mp.i386.so
drwxr-xr-x root/root usr/share/pixmaps/
-rw-r--r-- root/root usr/share/pixmaps/tce.xpm
diff --git a/true-combat-elite/.md5sum b/true-combat-elite/.md5sum
index 44d6f8e19..28a8ff6ac 100644
--- a/true-combat-elite/.md5sum
+++ b/true-combat-elite/.md5sum
@@ -1,3 +1,4 @@
+93a1b7666f29cada8d121985d2b0eac8 TrueCombatElite_v049_Linux.run.gz
a02e03c26745f2eb0e72c63ba0d3ff15 tce
+ed09515b41a4af92740c42c3053225a9 tce049b_all_os_fixed.zip
8e5662821fd973f0f290eae31f67ef01 true-combat-elite.desktop
-a329c6d3877e12294fac5dc1f6e5aa55 true.combat.elite_0.49b-english-4.run
diff --git a/true-combat-elite/Pkgfile b/true-combat-elite/Pkgfile
index f6651443c..b65f88536 100644
--- a/true-combat-elite/Pkgfile
+++ b/true-combat-elite/Pkgfile
@@ -1,23 +1,29 @@
# Description: TrueCombat:Elite is a team-based realism modification based on Enemy Territory.
-# URL: http://www.truecombatelite.net/
-# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
-# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
+# URL: http://www.truecombatelite.com/
+# Maintainer: Jose V Beneyto, sepen at crux dot nu
+# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: enemy-territory
name=true-combat-elite
version=0.49b
-release=3
-source=(http://darkstar.ist.utl.pt/pub/games/true.combat.elite_${version}-english-4.run \
- tce ${name}.desktop)
+release=4
+source=(http://www.truecombatelite.com/files/TrueCombatElite_v049_Linux.run.gz \
+ http://www.truecombatelite.com/files/tce049b_all_os_fixed.zip \
+ tce $name.desktop)
build() {
- chmod +x true.combat.elite_${version}-english-4.run
- ./true.combat.elite_${version}-english-4.run --noexec --target tmp
- install -d ${PKG}/usr/share/enemy-territory
- tar -C ${PKG}/usr/share/enemy-territory -xf tmp/tce_0.49b.tar
- rm -f ${PKG}/usr/share/enemy-territory/*.{rtf.txt}
- install -D -m 0755 ${SRC}/tce ${PKG}/usr/bin/tce
- ln -sf /usr/bin/tce ${PKG}/usr/bin/${name}
- install -D -m 0644 tmp/tce.xpm ${PKG}/usr/share/pixmaps/tce.xpm
- install -D -m 0644 ${SRC}/${name}.desktop ${PKG}/usr/share/applications/${name}.desktop
+ chmod +x TrueCombatElite_v049_Linux.run.gz
+
+ ./TrueCombatElite_v049_Linux.run.gz --noexec --target tmp
+ install -d $PKG/usr/share/enemy-territory
+ tar -C $PKG/usr/share/enemy-territory -xf tmp/tce_0.49.tar.bz2
+ rm -f $PKG/usr/share/enemy-territory/*.{rtf.txt}
+
+ # 0.49b
+ cp $SRC/*.{pk3,so,dat} $PKG/usr/share/enemy-territory/tcetest
+
+ install -D -m 0755 $SRC/tce $PKG/usr/bin/tce
+ ln -sf /usr/bin/tce $PKG/usr/bin/$name
+ install -D -m 0644 tmp/tce.xpm $PKG/usr/share/pixmaps/tce.xpm
+ install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
}

Generated by cgit