[arch-commits] Commit in steam/repos (3 files)

Date: Friday, February 8, 2013 @ 21:50:09 Author: dwallace Revision: 84036 archrelease: copy trunk to community-i686 Added: steam/repos/community-i686/ steam/repos/community-i686/PKGBUILD (from rev 84035, steam/trunk/PKGBUILD) steam/repos/community-i686/steam.install (from rev 84035, steam/trunk/steam.install) ---------------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ steam.install | 26 ++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) Copied: steam/repos/community-i686/PKGBUILD (from rev 84035, steam/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-02-08 20:50:09 UTC (rev 84036) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: K900 <k0009000 at gmail.com> +pkgname=steam +pkgver=1.0.0.25 +pkgrel=3 +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, copy to $XDG_DATA_HOME/Steam/ubuntu12_32/plugins/' + ) +fi + + +install=steam.install + +source=("http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz") +md5sums=('d2e3bb2086bbaa002542b758bb41ede8') + +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 Copied: steam/repos/community-i686/steam.install (from rev 84035, steam/trunk/steam.install) =================================================================== --- community-i686/steam.install (rev 0) +++ community-i686/steam.install 2013-02-08 20:50:09 UTC (rev 84036) @@ -0,0 +1,26 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + echo "if you are running x86_64, you need the lib32 opt depends for your driver" + echo + echo " if you are having problems with the steam license, remove .steam and .local/share/Steam" +} + +pre_install(){ + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + +} + +post_upgrade() { + post_install $1 +} + +pre_upgrade(){ + pre_install $1 +} + +post_remove() { + pre_install $1 removing +} +