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

Generated by cgit