blob: dd40019216b2abff317572d71ff26c9d657e2a91 (
plain)
1 # Description: Linux client for ID Software's Quake 4
2 # URL: http://www.quake4game.com/
3 # Maintainer: Matt Housh, jaeger at morpheus dot net
4 # Depends on: xorg-libx11, xorg-libxau, xorg-libxcb, xorg-libxdmcp, xorg-libxext, libsdl
5
6 name=quake4
7 version=1.4.2
8 release=1
9 source=(ftp://ftp.idsoftware.com/idstuff/$name/linux/$name-linux-$version.x86.run \
10 $name \
11 http://jaeger.morpheus.net/linux/files/q4icon.png)
12
13 build() {
14 chmod +x $name-linux-$version.x86.run
15 ./$name-linux-$version.x86.run --noexec --target tmp
16 mkdir -p $PKG/usr/share/$name \
17 $PKG/usr/share/$name/q4base \
18 $PKG/usr/share/$name/pb/htm \
19 $PKG/usr/bin \
20 $PKG/usr/share/pixmaps
21 install -m 755 tmp/bin/Linux/x86/*.x86 $PKG/usr/share/$name/
22 install -m 755 tmp/bin/Linux/x86/libstdc++.so.6 $PKG/usr/share/$name/
23 ln -s x86 $PKG/usr/share/$name/x86_64
24 install -m 644 tmp/q4base/*{.pk4,cfg} $PKG/usr/share/$name/q4base/
25 install -m 644 tmp/us/q4base/* $PKG/usr/share/$name/q4base/
26 install -m 644 tmp/pb/*.so $PKG/usr/share/$name/pb/
27 install -m 644 tmp/pb/htm/*.htm $PKG/usr/share/$name/pb/htm/
28 install -m 755 $name $PKG/usr/bin/
29 install -m 644 q4icon.png $PKG/usr/share/pixmaps/
30 }
|