2007-01-29 23:11:29 +01:00
|
|
|
# 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: x11
|
2007-01-17 01:30:20 +01:00
|
|
|
|
|
|
|
name=enemy-territory
|
|
|
|
version=2.60b
|
2007-02-02 00:28:06 +01:00
|
|
|
release=2
|
2007-01-17 01:30:20 +01:00
|
|
|
source=(http://www.sh.nu/download/games/et-linux-2.60.x86.run \
|
2007-02-02 00:28:06 +01:00
|
|
|
http://deverant.pp.fi/wolfet/ET-2.60b.zip \
|
2007-01-17 01:30:20 +01:00
|
|
|
et.sh)
|
|
|
|
|
|
|
|
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}
|
2007-02-02 00:28:06 +01:00
|
|
|
install -m 755 $SRC/Enemy\ Territory\ 2.60b/linux/{et.x86,etded.x86} $PKG/usr/share/$name
|
2007-01-17 01:30:20 +01:00
|
|
|
install -m 644 tmp/etmain/*.{pk3,so,cfg,dat} $PKG/usr/share/$name/etmain
|
|
|
|
install -m 644 tmp/etmain/video/* $PKG/usr/share/$name/etmain/video
|
|
|
|
install -m 644 tmp/pb/*.{so,x86,db} $PKG/usr/share/$name/pb
|
|
|
|
install -m 644 tmp/pb/htm/* $PKG/usr/share/$name/pb/htm
|
|
|
|
install -m 644 tmp/ET.xpm $PKG/usr/share/pixmaps
|
|
|
|
install -m 755 et.sh $PKG/usr/bin/et
|
|
|
|
ln -sf /usr/bin/et $PKG/usr/bin/$name
|
|
|
|
}
|