# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 ## $Header: /var/cvsroot/gentoo-x86/media-gfx/picasa/picasa-2.2.2820.ebuild,v 1.1 2006/01/03 02:14:40 tester Exp $ DESCRIPTION="A photo manager from google" SRC_URI="http://dl.google.com/linux/standalone/picasa-${PV}-5.i386.bin" HOMEPAGE="http://picasa.google.com/linux" LICENSE="GPLV2 LGPLV2" KEYWORDS="~amd64 ~x86" SLOT="0" DEPEND=">=virtual/linux-sources-2.6.13 >=sys-apps/hal ${RDEPEND}" src_unpack() { echo "Unpacking the file picasa-${PV}-5.i386.bin" sh ${DISTDIR}/picasa-${PV}-5.i386.bin --nox11 --target ${WORKDIR} --noexec } src_install(){ dodir /opt/picasa dodir /opt/bin dodir /usr/share/applications dodir /usr/share/pixmaps cd ${WORKDIR} cp -Rp * ${D}/opt/picasa/ cd ${D}/opt/picasa rm setup.sh postuninstall preuninstall rm -rf setup.data cd ${FILESDIR} cp picasascript.sh ${D}/opt/bin/picasa cd ${D}/opt/picasa/desktop cp picasa.xpm ${D}/usr/share/pixmaps cp picasa.desktop ${D}/usr/share/applications cd ${D}/opt/picasa dodoc LICENSE.FOSS README GPLV2 LGPLV2 echo "Finalizing Instalation..." }