summaryrefslogtreecommitdiff
path: root/steam/Pkgfile
blob: 112ef8de887d330c4ba3fcb205376f6eeb0d51da (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.51
   10 release=1
   11 source=(http://repo.steampowered.com/$name/pool/$name/s/$name/${name}_$version.tar.gz
   12 	alsa_sdl_audiodriver.patch)
   13 
   14 build() {
   15 	cd $name
   16 
   17 	patch -p1 -i $SRC/alsa_sdl_audiodriver.patch
   18 	
   19 	make DESTDIR=$PKG install
   20 
   21 	# blank steamdeps because apt-get
   22 	ln -sf /bin/true $PKG/usr/bin/steamdeps
   23 
   24 
   25 	mv $PKG/usr/lib $PKG/usr/lib32
   26 
   27 	sed \
   28 		-e 's|/usr/lib/$STEAMPACKAGE|/usr/lib32/$STEAMPACKAGE|' \
   29 		-i $PKG/usr/bin/steam
   30 
   31 	rm -r $PKG/usr/share/doc
   32 }

Generated by cgit