void-packages/srcpkgs/steam/template

34 lines
818 B
Text
Raw Normal View History

2013-03-07 18:30:22 +00:00
# Template file for 'steam'
#
only_for_archs=i686
pkgname=steam
version=1.0.0.35
revision=1
wrksrc=steam
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=73e4f639e396f142d69a543241583445426bf9eb5764f75808044deabff564a7
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_package() {
nonfree="yes"
pkg_install() {
vmove usr
}
}