2016-03-28 05:08:00 +02:00
|
|
|
# Description: Digital distribution client bootstrap package.
|
|
|
|
# URL: http://store.steampowered.com/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2016-04-06 03:07:02 +02:00
|
|
|
# Depends on: dbus-32 desktop-file-utils gtk-32 libgcrypt-32 mesa3d-32 nss-32 openal-32
|
2016-03-28 05:08:00 +02:00
|
|
|
# Optional: pulseaudio-32
|
|
|
|
|
|
|
|
name=steam
|
2019-08-04 11:09:17 +02:00
|
|
|
version=1.0.0.61
|
2016-03-28 05:08:00 +02:00
|
|
|
release=1
|
|
|
|
source=(http://repo.steampowered.com/$name/pool/$name/s/$name/${name}_$version.tar.gz
|
2016-10-26 23:36:41 +02:00
|
|
|
steam-native.sh
|
|
|
|
steam-native.desktop
|
2016-03-28 05:08:00 +02:00
|
|
|
alsa_sdl_audiodriver.patch)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name
|
|
|
|
|
|
|
|
patch -p1 -i $SRC/alsa_sdl_audiodriver.patch
|
2016-10-26 23:36:41 +02:00
|
|
|
|
|
|
|
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
|
2016-03-28 05:08:00 +02:00
|
|
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
# blank steamdeps because apt-get
|
|
|
|
ln -sf /bin/true $PKG/usr/bin/steamdeps
|
|
|
|
|
2018-07-16 15:48:55 +02:00
|
|
|
install -d $PKG/etc/ssl/certs
|
|
|
|
|
2016-03-28 05:08:00 +02:00
|
|
|
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
|
|
|
|
}
|