37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
# Template file for 'steam'
|
|
pkgname=steam
|
|
version=1.0.0.70
|
|
revision=2
|
|
archs="i686 x86_64"
|
|
wrksrc=steam-launcher
|
|
depends="zenity xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils
|
|
liberation-fonts-ttf file tar bash coreutils"
|
|
short_desc="Digital distribution client bootstrap package - Valve's steam client"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="custom: Proprietary license"
|
|
homepage="https://steampowered.com/"
|
|
distfiles="http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${version}.tar.gz"
|
|
checksum=9ff88a5778c7b00efb18f324d4cd0c282d5f438dad1201bc3e9822e3ff6a2dff
|
|
repository=nonfree
|
|
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
vlicense steam_subscriber_agreement.txt 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
|
|
|
|
# Device support for Steam-related hardware (e.g. controllers over Steam Link)
|
|
vinstall ${FILESDIR}/60-steam-input.rules 644 usr/lib/udev/rules.d
|
|
vinstall ${FILESDIR}/60-steam-vr.rules 644 usr/lib/udev/rules.d
|
|
|
|
# Void-specific documentation.
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|