lib32/steam/PKGBUILD

49 lines
1.7 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
2014-10-31 06:15:59 +08:00
pkgver=1.0.0.49
2015-02-02 00:20:25 +08:00
pkgrel=2
2014-10-31 06:15:59 +08:00
pkgdesc="Digital distribution client bootstrap package"
2013-03-24 01:17:26 +08:00
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'
2014-10-31 06:15:59 +08:00
'lib32-sdl' 'lib32-libvorbis' 'lib32-alsa-lib' 'lib32-libgl'
2013-03-24 01:17:26 +08:00
'lib32-libgcrypt' 'lib32-nss' 'lib32-openal'
'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxshmfence')
2013-03-24 01:17:26 +08:00
optdepends=(
2015-02-02 00:20:25 +08:00
'lib32-mesa-dri: for open source driver users'
2013-03-24 01:17:26 +08:00
'lib32-catalyst-utils: for AMD Catalyst users'
'lib32-nvidia-utils: for NVIDIA proprietary blob users'
2015-02-02 00:20:25 +08:00
'lib32-primus: for NVIDIA + Bumblebee users'
2014-10-31 06:15:59 +08:00
'lib32-flashplugin: for flash video'
'lib32-alsa-plugins: for pulseaudio on some games')
2013-03-24 01:17:26 +08:00
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')
2014-10-31 06:15:59 +08:00
md5sums=('2ec8c8172fd34a1c0d007d7250509f42'
'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() {
2014-10-31 06:15:59 +08:00
# 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"
2013-03-24 01:17:26 +08:00
2014-10-31 06:15:59 +08:00
# blank steamdeps because apt-get
ln -sf /bin/true "$pkgdir/usr/bin/steamdeps"
2013-03-24 01:17:26 +08:00
}