void-packages/srcpkgs/steam/template
Juan RP c653c26a64 steam: re-add patch to LD_PRELOAD required system libs.
... otherwise there's a conflict with ABI used in the ubuntu runtime
and does not start.
2016-05-09 20:32:12 +02:00

33 lines
1.1 KiB
Bash

# Template file for 'steam'
#
only_for_archs="i686 x86_64"
pkgname=steam
version=1.0.0.52
revision=4
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="Proprietary license"
homepage="http://steampowered.com/"
distfiles="http://repo.steampowered.com/$pkgname/pool/$pkgname/s/steam/steam_${version}.tar.gz"
checksum=dd3b1a9f597bf0e088094d6fd1e495068434b604346139f277ea26c41e009304
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
}