Skip to content

Instantly share code, notes, and snippets.

@Longer
Created November 7, 2012 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Longer/4029789 to your computer and use it in GitHub Desktop.
Save Longer/4029789 to your computer and use it in GitHub Desktop.
EAPI="2"
inherit eutils
DESCRIPTION="Valve Steam"
HOMEPAGE="http://store.steampowered.com/"
SRC_URI="http://media.steampowered.com/client/installer/steam.deb"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_unpack(){
unpack ${A}
tar xf data.tar.gz
}
src_install(){
dobin "usr/bin/steam"
dodir "usr/"
cp -r "usr/share/" "${D}/usr/" || die "Install failed!"
cp -r "usr/lib" "${D}/usr/" || die "Install failed!"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment