blob: 8a6161332b99968ec08900b37220ae8c29c1d0b5 (
plain)
1 # Description: Digital distribution client bootstrap package.
2 # URL: http://store.steampowered.com/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Lennart Sauerbeck, devel at lennart dot sauerbeck dot org
5 # Depends on: dbus-32 desktop-file-utils gtk-32 libgcrypt-32 mesa3d-32 nss-32 openal-32
6 # Optional: pulseaudio-32
7
8 name=steam
9 version=1.0.0.53
10 release=1
11 source=(http://repo.steampowered.com/$name/pool/$name/s/$name/${name}_$version.tar.gz
12 steam-native.sh
13 steam-native.desktop
14 alsa_sdl_audiodriver.patch)
15
16 build() {
17 cd $name
18
19 patch -p1 -i $SRC/alsa_sdl_audiodriver.patch
20
21 install -m 0755 -D $SRC/steam-native.sh \
22 $PKG/usr/bin/steam-native
23
24 install -m 0644 -D $SRC/steam-native.desktop \
25 -t $PKG/usr/share/applications
26
27 make DESTDIR=$PKG install
28
29 # blank steamdeps because apt-get
30 ln -sf /bin/true $PKG/usr/bin/steamdeps
31
32 mv $PKG/usr/lib $PKG/usr/lib32
33
34 sed \
35 -e 's|/usr/lib/$STEAMPACKAGE|/usr/lib32/$STEAMPACKAGE|' \
36 -i $PKG/usr/bin/steam
37
38 rm -r $PKG/usr/share/doc
39 }
|