lib32/steam/PKGBUILD
2015-02-01 17:20:25 +01:00

49 lines
1.7 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): AlmAck <gluca86 [at] gmail.com>
# contributor (ccr): blablub <spamalicious.steve@gmail.com>
pkgname=steam
pkgver=1.0.0.49
pkgrel=2
pkgdesc="Digital distribution client bootstrap package"
arch=('x86_64')
url="http://steampowered.com/"
license=('custom')
depends=('bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-liberation' 'python'
'lib32-sdl' 'lib32-libvorbis' 'lib32-alsa-lib' 'lib32-libgl'
'lib32-libgcrypt' 'lib32-nss' 'lib32-openal'
'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxshmfence')
optdepends=(
'lib32-mesa-dri: for open source driver users'
'lib32-catalyst-utils: for AMD Catalyst users'
'lib32-nvidia-utils: for NVIDIA proprietary blob users'
'lib32-primus: for NVIDIA + Bumblebee users'
'lib32-flashplugin: for flash video'
'lib32-alsa-plugins: for pulseaudio on some games')
install=steam.install
source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgname}_$pkgver.tar.gz"
'lib32-flashplugin-path.patch'
'alsa_sdl_audiodriver.patch')
md5sums=('2ec8c8172fd34a1c0d007d7250509f42'
'1d83a1df55d677f35ce415e0750f4448'
'ac0e03d70f1101331598b2b32ed9bac3')
prepare() {
patch -d "$pkgname" -Np1 -i "$srcdir/lib32-flashplugin-path.patch"
patch -d "$pkgname" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch"
}
package() {
# Install license
make -C "$pkgname" 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"
}