void-packages/srcpkgs/steam/template
Juan RP 6f8675fbe2 steam: only preload lib{ssl,crypto} if nvidia is not installed.
This is the only workaround that I've found so far to make this work
with mesa and nvidia.
2016-02-16 09:02:57 +01:00

33 lines
1.1 KiB
Bash

# Template file for 'steam'
#
only_for_archs="i686 x86_64"
pkgname=steam
version=1.0.0.51
revision=5
wrksrc=steam
depends="zenity xterm xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
repository="nonfree"
short_desc="Digital distribution client bootstrap package - Valve's steam client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Propietary license"
homepage="http://steampowered.com/"
distfiles="http://repo.steampowered.com/$pkgname/pool/$pkgname/s/steam/steam_${version}.tar.gz"
checksum=bf766db05fcc3a8079e7e514accfbd2503813a3c70ff8336aa93e554ed7719be
do_install() {
make DESTDIR=${DESTDIR} install
# Link license
vmkdir usr/share/licenses/steam
ln -sfr ${DESTDIR}/usr/share/doc/steam/steam_install_agreement.txt \
${DESTDIR}/usr/share/licenses/steam/LICENSE
# Ignore steamdeps.
ln -sf /bin/true ${DESTDIR}/usr/bin/steamdeps
# Steam Controller support: need read-write access to
# Valve-owned input event device nodes.
# See https://bugs.launchpad.net/ubuntu/+source/steam/+bug/1498655
vinstall ${FILESDIR}/99-steam-controller-perms.rules 644 usr/lib/udev/rules.d
}