# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header$ S=${WORKDIR}/${P} DESCRIPTION="GIMP Users Another SHell: something like XVs visual shunauzer. " SRC_URI="http://registry.gimp.org/file/${P}.tgz?id=3268" #SRC_URI="http://registry.gimp.org/file/${P}.tgz" HOMEPAGE="http://registry.gimp.org/plugin?id=467" RESTRICT=nomirror #RESTRICT=fetch SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" RDEPEND="=media-gfx/gimp-1.2*" DEPEND="${RDEPEND}" pkg_setup() { einfo "Renaming tarball" cp -p ${DISTDIR}/${P}.tgz\?id=3268 ${DISTDIR}/${P}.tar.gz } src_unpack() { unpack ${P}.tar.gz } src_compile() { gimptool --build guash.c } src_install() { #local GIMP_PLUGIN_DIR=`gimptool --gimpplugindir` exeinto `gimptool --gimpplugindir`/plug-ins doexe guash dodoc ChangeLog COPYING README* rmthumbnail docinto script-fu dodoc script-fu/* }