diff --git a/srcpkgs/steam/template b/srcpkgs/steam/template new file mode 100644 index 00000000000..9d5f7159a4d --- /dev/null +++ b/srcpkgs/steam/template @@ -0,0 +1,27 @@ +# Template file for 'steam' +# +only_for_archs=i686 +nonfree=yes + +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 " +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 +}