# Template file for 'steam'
pkgname=steam
version=1.0.0.82
revision=1
archs="i686 x86_64"
depends="zenity xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils
 liberation-fonts-ttf file tar bash coreutils lsof steam-udev-rules"
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/steam/pool/steam/s/steam/steam_${version}.tar.gz"
checksum=afa2f1dd6271fd2b645ba30b8f3ab40afd3654e354241a31cbd51000f7e6fc77
repository=nonfree

do_install() {
	make DESTDIR=${DESTDIR} install

	vlicense steam_subscriber_agreement.txt LICENSE

	# Ignore steamdeps.
	ln -sf /bin/true ${DESTDIR}/usr/bin/steamdeps

	# Void-specific documentation.
	vdoc "${FILESDIR}/README.voidlinux"
}
