void-packages/srcpkgs/steam/template

29 lines
885 B
Bash

# Template file for 'steam'
#
only_for_archs="i686 x86_64"
pkgname=steam
version=1.0.0.50
revision=2
wrksrc=steam
depends="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=be6388c0ab36799d6173276ac75b4d92c6623a53d901395c9fc1963cfd245573
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
}