lib32/steam/PKGBUILD

59 lines
2.0 KiB
Bash
Raw Normal View History

2013-03-24 01:17:26 +08:00
#
# 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.48
2013-09-07 03:36:55 +08:00
pkgrel=1
2013-03-24 01:17:26 +08:00
pkgdesc="Installer for the Steam software distribution service"
arch=('x86_64')
url="http://steampowered.com/"
license=('custom')
depends=('bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
2013-09-07 03:36:55 +08:00
'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-liberation' 'python'
2013-03-24 01:17:26 +08:00
'lib32-sdl' 'lib32-libvorbis' 'lib32-alsa-lib'
'lib32-libgcrypt' 'lib32-nss' 'lib32-openal'
'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxshmfence')
2013-03-24 01:17:26 +08:00
optdepends=(
'lib32-ati-dri: for open source ATI driver users'
2013-03-24 01:17:26 +08:00
'lib32-catalyst-utils: for AMD Catalyst users'
'lib32-intel-dri: for open source Intel driver users'
'lib32-nouveau-dri: for Nouveau users'
'lib32-primus: for NVIDIA + Bumblebee users'
2013-03-24 01:17:26 +08:00
'lib32-nvidia-utils: for NVIDIA proprietary blob users'
'lib32-nvidia-304xx-utils: for NVIDIA 304xx series proprietary users'
'flashplugin: for flash video'
'lib32-alsa-plugins: for pulseaudio on some games')
2013-03-24 01:17:26 +08:00
makedepends=('librsvg')
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=('d0d9b46bb44d3a3b6b1b44304afe7995'
'1d83a1df55d677f35ce415e0750f4448'
'ac0e03d70f1101331598b2b32ed9bac3')
2013-03-24 01:17:26 +08:00
prepare() {
2013-03-24 01:17:26 +08:00
patch -d "$pkgname" -Np1 -i "$srcdir/lib32-flashplugin-path.patch"
patch -d "$pkgname" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch"
2013-03-24 01:17:26 +08:00
}
package() {
cd "$srcdir/$pkgname"
# Install
make DESTDIR=${pkgdir} install
# Install license
install -Dm644 "$pkgdir/usr/share/doc/steam/steam_install_agreement.txt" "$pkgdir/usr/share/licenses/steam/LICENSE"
# remove steamdeps not needed for chakra linux
rm "$pkgdir/usr/bin/steamdeps"
}