void-packages/srcpkgs/steam/template
Enno Boland 59cc3e0d45 replace nonfree=yes with repository=nonfree.
This way it is possible to set up package specific repositories for
i.e. specific devices.
2014-11-05 14:15:25 +01:00

28 lines
879 B
Text

# Template file for 'steam'
#
only_for_archs="i686 x86_64"
pkgname=steam
version=1.0.0.49
revision=1
wrksrc=steam
depends="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@gmail.com>"
license="Propietary license"
homepage="http://steampowered.com/"
distfiles="http://repo.steampowered.com/$pkgname/pool/$pkgname/s/steam/steam_${version}.tar.gz"
checksum=fd893b5c2f5585be1cd8a83f4a6c7d523a2bd985a91587adb5afaccd6fa12fb0
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
}