40 lines
1011 B
Plaintext
40 lines
1011 B
Plaintext
# Description: Digital distribution client bootstrap package.
|
|
# URL: http://store.steampowered.com/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Lennart Sauerbeck, devel at lennart dot sauerbeck dot org
|
|
# Depends on: dbus-32 desktop-file-utils gtk-32 libgcrypt-32 mesa3d-32 nss-32 openal-32
|
|
# Optional: pulseaudio-32
|
|
|
|
name=steam
|
|
version=1.0.0.53
|
|
release=1
|
|
source=(http://repo.steampowered.com/$name/pool/$name/s/$name/${name}_$version.tar.gz
|
|
steam-native.sh
|
|
steam-native.desktop
|
|
alsa_sdl_audiodriver.patch)
|
|
|
|
build() {
|
|
cd $name
|
|
|
|
patch -p1 -i $SRC/alsa_sdl_audiodriver.patch
|
|
|
|
install -m 0755 -D $SRC/steam-native.sh \
|
|
$PKG/usr/bin/steam-native
|
|
|
|
install -m 0644 -D $SRC/steam-native.desktop \
|
|
-t $PKG/usr/share/applications
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
# blank steamdeps because apt-get
|
|
ln -sf /bin/true $PKG/usr/bin/steamdeps
|
|
|
|
mv $PKG/usr/lib $PKG/usr/lib32
|
|
|
|
sed \
|
|
-e 's|/usr/lib/$STEAMPACKAGE|/usr/lib32/$STEAMPACKAGE|' \
|
|
-i $PKG/usr/bin/steam
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|