summaryrefslogtreecommitdiff
path: root/steam/Pkgfile
blob: 8a399ce9288183a9f43687e0dcbc303acab56290 (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.54
   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 	install -d $PKG/etc/ssl/certs
   33 	ln -sf /etc/ssl/cert.pem $PKG/etc/ssl/certs/ca-certificates.crt
   34 
   35 	mv $PKG/usr/lib $PKG/usr/lib32
   36 
   37 	sed \
   38 		-e 's|/usr/lib/$STEAMPACKAGE|/usr/lib32/$STEAMPACKAGE|' \
   39 		-i $PKG/usr/bin/steam
   40 
   41 	rm -r $PKG/usr/share/doc
   42 }

Generated by cgit