1
0
forked from ports/contrib

enemy-territory: Updated to release 5. Added .desktop file ...

This commit is contained in:
Jose V Beneyto 2007-11-09 19:33:35 +01:00
parent 193431e98e
commit b9220c2eaf
4 changed files with 33 additions and 21 deletions

View File

@ -3,6 +3,8 @@ drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/enemy-territory -> /usr/bin/et
-rwxr-xr-x root/root usr/bin/et
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/enemy-territory.desktop
drwxr-xr-x root/root usr/share/enemy-territory/
-rwxr-xr-x root/root usr/share/enemy-territory/et.x86
-rwxr-xr-x root/root usr/share/enemy-territory/etded.x86
@ -41,4 +43,4 @@ drwxr-xr-x root/root usr/share/enemy-territory/pb/htm/
-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
-rw-r--r-- root/root usr/share/pixmaps/et.xpm

View File

@ -1,3 +1,4 @@
fb83b8732fc7373c277180b663debf57 ET-2.60b.zip
2d2373f29f02e18d365d7f1860eee435 et-linux-2.60.x86.run
3cb0b454e6239c9f61ee1d60eac0a7aa enemy-territory.desktop
c9ba19810fb7ff697737008f8c0b17b4 et
2d2373f29f02e18d365d7f1860eee435 et-linux-2.60.x86.run

View File

@ -1,28 +1,28 @@
# Description: (FPS) computer game, and a standalone sequel to Return to Castle Wolfenstein.
# URL: http://www.enemy-territory.com/
# Maintainer: Jose V Beneyto, joberui at ei dot upv dot es
# Packager: Jose V Beneyto, joberui at ei dot upv dot es
# Depends on: xorg
# 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
name=enemy-territory
version=2.60b
release=4
release=5
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)
ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/et/ET-2.60b.zip \
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 -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 ${PKG}/usr/bin/et
ln -sf /usr/bin/et ${PKG}/usr/bin/${name}
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
# 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}
}

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Enemy Territory
Comment=Wolfstein Enemy Territory
Exec=/usr/bin/enemy-territory
Icon=et.xpm
Terminal=false
Type=Application
Categories=Application;Games;