33 lines
974 B
Text
33 lines
974 B
Text
# Template file for 'steam'
|
|
#
|
|
only_for_archs="i686 x86_64"
|
|
|
|
pkgname=steam
|
|
version=1.0.0.47
|
|
revision=1
|
|
wrksrc=steam
|
|
makedepends="curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
|
|
depends="${makedepends}"
|
|
nonfree="yes"
|
|
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=1de4e1abe5bb3eecbde66d66c238ff79d083d31897f0c008f5e345889d9deac3
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
depends+=" libGL-32"
|
|
fi
|
|
|
|
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
|
|
}
|