Advertisement
Guest User

steam PKGBUILD

a guest
May 6th, 2016
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.92 KB | None | 0 0
  1. # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
  2. # Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
  3. # Contributor: K900 <k0009000@gmail.com>
  4.  
  5. pkgname=steam
  6. pkgver=1.0.0.52
  7. pkgrel=2
  8. pkgdesc="Valve's digital software delivery system"
  9. url='http://steampowered.com/'
  10. arch=('i686' 'x86_64')
  11. license=('custom')
  12. depends=(
  13.   'bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
  14.   'dbus' 'freetype2'  'gdk-pixbuf2' 'ttf-font' 'zenity'
  15. )
  16. depends_x86_64=('lib32-libgl' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss')
  17. optdepends_x86_64=(
  18.   'lib32-mesa-dri: for open source driver users'
  19.   'lib32-catalyst-utils: for AMD Catalyst users'
  20.   'lib32-nvidia-utils: for NVIDIA proprietary blob users'
  21.   'lib32-alsa-plugins: for pulseaudio on some games'
  22. )
  23. install=steam.install
  24. source=(http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${pkgver}.tar.gz
  25.         alsa_sdl_audiodriver.patch
  26.         80-steam-controller-permission.rules)
  27. sha512sums=('eefff7b2d223305fa8ff8b2419f9806e21784044c2832b42c5583bac4b9391d66444903e2753153842a85eab196418ca47d9b4b3a1daaf839e1eb15edfff891e'
  28.             '5c6117d86cb95071246434851bae3bf7d1c2174b0c8744e33e9c98ccc22efae0c956e1d7e3969c572aa96259b1b8164992d265541bce49a24daa12555d825fd5'
  29.             'f2b45659524a23e97ac271629ae525823f3d613e94f3fb72dfb67a21b7edfda6d07bff623187582c6d0888501e98536d114ccb27d9a7d7065c51fc11f7d8b18f')
  30. prepare() {
  31.     patch -d "${pkgname}" -Np1 < "${srcdir}/alsa_sdl_audiodriver.patch"
  32. }
  33.  
  34. package() {
  35.   make -C "${pkgname}" DESTDIR="${pkgdir}" install
  36.  
  37.   install -Dm 644 "${pkgdir}/usr/share/doc/steam/steam_install_agreement.txt" \
  38.       "${pkgdir}/usr/share/licenses/steam/LICENSE"
  39.  
  40.   # blank steamdeps because apt-get
  41.   ln -sf /usr/bin/true "${pkgdir}/usr/bin/steamdeps"
  42.  
  43.   install -Dm 644 "${srcdir}/80-steam-controller-permission.rules" \
  44.       "${pkgdir}/usr/lib/udev/rules.d/80-steam-controller-permission.rules"
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement