# $Id: PKGBUILD 79958 2012-11-15 03:14:52Z dwallace $ # Maintainer: Daniel Wallace # Contributor: K900 pkgname=steam pkgver=1.0.0.18 pkgrel=2 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-liberation' ) if [[ "$CARCH" == "x86_64" ]]; then depends+=( 'lib32-sdl' 'lib32-libvorbis' 'lib32-alsa-lib' 'lib32-libgcrypt' 'lib32-gtk2' 'lib32-nss' 'lib32-openal' 'lib32-libpng12' 'lib32-libpulse' 'lib32-libcanberra' 'lib32-glu' ) 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-bumblebee: for NVIDIA + Bumblebee users' 'lib32-nvidia-utils: for NVIDIA proprietary blob users' 'lib32-libappindicator: for tray icon' 'lib32-flashplugin: for flash support in the embedded browser' ) else depends+=( 'glu' 'libpng12' 'sdl' 'libpulse' 'alsa-lib' 'libvorbis' 'libgcrypt' 'nss' 'openal' 'gtk2' 'glu' ) optdepends=( 'libappindicator: for tray icon' 'flashplugin: for flash support in the embedded browser' ) fi # 'libtheora' install=steam.install source=("http://repo.steampowered.com/steam/archive/precise/${pkgname}_${pkgver}_i386.deb" "flash-plugin-x86_64-fix.patch") md5sums=('5716affbbb8dcf466b2558f321e2b2ad' '268cbbdfbb700ab818d95d231837ced5') build() { cd "$srcdir" bsdtar xf "$srcdir/data.tar.gz" sed -i '/jockey-common/d' "$srcdir/usr/bin/steam" if [[ "$CARCH" == "x86_64" ]]; then patch -d ${srcdir}/usr/bin -i ${srcdir}/flash-plugin-x86_64-fix.patch fi } package() { cp -dpr --no-preserve=ownership "$srcdir/usr" "$pkgdir" # Install license install -Dm644 "$srcdir/usr/share/doc/steam/copyright" "$pkgdir/usr/share/licenses/steam/LICENSE" } #vim: set ft=PKGBUILD sw=2 ts=2 et