# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit eutils toolchain-funcs versionator # Latest revision can be found at # wget -qO- http://dl.google.com/linux/deb/dists/stable/main/binary-amd64/Packages|grep Filename CHAN="stable" MY_P="google-talkplugin_current" DESCRIPTION="" HOMEPAGE="http://www.google.com/chrome" SRC_BASE="https://dl-ssl.google.com/linux/direct/" SRC_URI="${SRC_BASE}google-talkplugin_current_i386.deb" LICENSE="BSD" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="" RDEPEND="" src_unpack() { unpack ${A} unpack ./data.tar.gz } src_install() { local CHROME_HOME="/opt/google/chrome" local nss_subdir=$(has_version ">=dev-libs/nss-3.12.5-r1" || echo nss/) local nspr_subdir=$(has_version ">=dev-libs/nspr-4.8.3-r3" || echo nspr/) mv "${WORKDIR}"/{opt,usr} "${D}" || die } pkg_postinst() { elog "woot" }