void-packages/srcpkgs/steam/template
2013-12-27 15:24:29 +01:00

35 lines
917 B
Text

# Template file for 'steam'
#
only_for_archs=i686
pkgname=steam
version=1.0.0.45
revision=1
wrksrc=steam
makedepends="hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
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=58f42d2d4980dd9a66445a2b60a6d336140a6ee6171803c6f925b5d1b2462942
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() {
depends="${makedepends}"
nonfree="yes"
pkg_install() {
vmove all
}
}