lib32/steam/PKGBUILD

47 lines
1.7 KiB
Bash
Raw Normal View History

2013-03-24 01:17:26 +08:00
pkgname=steam
2016-10-21 21:42:08 +08:00
pkgver=1.0.0.53
2016-11-03 04:03:21 +08:00
pkgrel=3
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')
optdepends=('lib32-flashplugin: for flash video'
2016-11-03 04:03:21 +08:00
'qarma: for qt5 warning dialogs'
'freshplayerplugin: alternative flash video support'
2016-01-13 09:44:59 +08:00
'lib32-alsa-plugins: for pulseaudio on some games'
'lib32-mesa: 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')
2016-11-03 04:03:21 +08:00
install=steam.install
2013-03-24 01:17:26 +08:00
source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgname}_$pkgver.tar.gz"
2016-11-03 04:03:21 +08:00
'alsa_sdl_audiodriver.patch')
2016-10-21 21:42:08 +08:00
sha256sums=('10932f2e58b0d0288e0820b8e97e6f3112409f770ecb64c3cd44e87450c1c944'
2016-11-03 04:03:21 +08:00
'174a110eda1c9d5b1c92a4490b266b31918559bbf8292a94905221c92da4bc0e')
2013-03-24 01:17:26 +08:00
prepare() {
patch -d "$pkgname" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch"
2013-03-24 01:17:26 +08:00
}
package() {
2016-11-03 04:03:21 +08:00
depends=('bash' 'xterm' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-liberation' 'python3' 'lib32-sdl'
'lib32-libvorbis' 'lib32-alsa-lib' 'lib32-libgl' 'lib32-libgcrypt'
'lib32-nss' 'lib32-openal' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss'
'lib32-libxshmfence'
)
2015-12-29 19:11:36 +08:00
2014-10-31 06:15:59 +08:00
make -C "$pkgname" DESTDIR="$pkgdir" install
2016-11-03 04:03:21 +08:00
2015-12-21 18:13:23 +08:00
# Install license
2016-11-03 04:03:21 +08:00
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"
2016-11-03 04:03:21 +08:00
install -Dm644 steam/lib/udev/rules.d/99-steam-controller-perms.rules \
"$pkgdir"/usr/lib/udev/rules.d/99-steam-controller-perms.rules
2013-03-24 01:17:26 +08:00
}