Date: Thursday, February 14, 2013 @ 21:58:52 Author: dwallace Revision: 84256
steam multilib PKGBUILD Added: steam/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) Added: PKGBUILD =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-02-14 20:58:52 UTC (rev 84256) @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 84253 2013-02-14 20:49:52Z dwallace $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: K900 <[email protected]> +pkgname=steam +pkgver=1.0.0.27 +pkgrel=1 +pkgdesc="Digital distribution client - open beta - bootstrap package" +arch=("i686" "x86_64") +url="http://steampowered.com/" +license=('custom') +depends=( + 'bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl' + 'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity' + ) +if [[ "$CARCH" == "x86_64" ]]; then + depends+=(lib32-libgl lib32-gcc-libs lib32-libx11) + optdepends=( + 'lib32-ati-dri: for open source ATI driver users' + 'lib32-catalyst-utils: for AMD Catalyst users' + 'lib32-intel-dri: for open source Intel driver users' + 'lib32-nouveau-dri: for Nouveau users' + 'lib32-nvidia-utils: for NVIDIA proprietary blob users' + 'lib32-flashplugin: for flash video' + ) +build() { + patch -Np1 -i "$srcdir/lib32-flashplugin-path.patch" +} +else + optdepends=('flashplugin: for flash videos') +fi + + +install=steam.install + +source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgname}_$pkgver.tar.gz" + 'lib32-flashplugin-path.patch') +md5sums=('b7ff967f7848cfa625ff51150fc67e1d' + '5532b7f604fe9a73a7b6decab01e9a77') + + +package() { + + # Install license + make -C $pkgname-$pkgver DESTDIR=$pkgdir install + + install -Dm644 "$pkgdir/usr/share/doc/steam/steam_install_agreement.txt" "$pkgdir/usr/share/licenses/steam/LICENSE" + + + # blank steamdeps because apt-get + ln -sf /bin/true "$pkgdir/usr/bin/steamdeps" + +} +#vim: set ft=PKGBUILD sw=2 ts=2 et
