blob: ef4f77ff7da52755364fb21638e42ed0c958b7bc (
plain)
1 # Description: (FPS) computer game, and a standalone sequel to Return to Castle Wolfenstein.
2 # URL: http://www.enemy-territory.com/
3 # Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
4 # Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
5 # Depends on: xorg
6
7 name=enemy-territory
8 version=2.60b
9 release=5
10 source=(ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/et/linux/et-linux-2.60.x86.run \
11 ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/et/ET-2.60b.zip \
12 et ${name}.desktop)
13
14 build() {
15 chmod +x et-linux-2.60.x86.run
16 ./et-linux-2.60.x86.run --noexec --target tmp
17 install -d ${PKG}/usr/share/${name}/{etmain/video,pb/htm}
18 install -m 0644 tmp/etmain/*.{pk3,so,cfg,dat} ${PKG}/usr/share/${name}/etmain
19 install -m 0644 tmp/etmain/video/* ${PKG}/usr/share/${name}/etmain/video
20 install -m 0644 tmp/pb/*.{so,x86,db} ${PKG}/usr/share/${name}/pb
21 install -m 0644 tmp/pb/htm/* ${PKG}/usr/share/${name}/pb/htm
22 install -D -m 0644 tmp/ET.xpm ${PKG}/usr/share/pixmaps/et.xpm
23 install -D -m 0644 ${SRC}/${name}.desktop ${PKG}/usr/share/applications/${name}.desktop
24 # 2.60b patch
25 install -m 0755 Enemy\ Territory\ 2.60b/linux/*.x86 ${PKG}/usr/share/${name}
26 install -D -m 0755 ${SRC}/et ${PKG}/usr/bin/et
27 ln -sf /usr/bin/et ${PKG}/usr/bin/${name}
28 }
|