SHARE
TWEET

Untitled

a guest May 12th, 2019 260 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=steam
  2. pkgver="$(curl -L -s http://repo.steampowered.com/steam/pool/steam/s/steam/ | tr "<>" "\ " | grep "steam" | awk '{print $14}' | sort -V | sed 's/steam\_//' | sed 's/\.tar\.gz//' | sed 's/\_i386\.deb//' | tail -n 1)"
  3. pkgrel=2
  4. pkgdesc="Valve's digital software delivery system"
  5. url='http://steampowered.com/'
  6. arch=('x86_64')
  7. license=('custom')
  8. depends=('bash')
  9. depends_x86_64=('lib32-icu' 'lib32-libdrm' 'lib32-libx11' 'lib32-alsa-plugins' 'lib32-xz' 'lib32-libxshmfence' 'lib32-mesa' )
  10. source=(http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgname}_$pkgver.tar.gz
  11. alsa_sdl_audiodriver.patch)
  12.  
  13. package() {
  14. cd ${pkgname}
  15.  
  16. patch -Np1 < "${srcdir}/alsa_sdl_audiodriver.patch"
  17.  
  18. make DESTDIR="${pkgdir}" install
  19.  
  20. # blank steamdeps because apt-get
  21. ln -sf /usr/bin/true "${pkgdir}/usr/bin/steamdeps"
  22.  
  23. # remove junks
  24. rm -r "${pkgdir}/usr/share/doc"
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top