# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ DESCRIPTION="Aurora GTK+ Engine" HOMEPAGE="http://www.xfce-look.org/content/show.php/Aurora+Gtk+Engine?content=56438" SRC_URI="http://www.xfce-look.org/CONTENT/content-files/56438-Aurora-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=x11-libs/gtk+-2.12" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.19" ENGINENAME=${PN#gtk-engines-} S="${WORKDIR}/${ENGINENAME}-${PV}" src_unpack() { unpack ${A} || die "unpack failed" # There should be a better way to do this unpack ./${ENGINENAME}-${PV}.tar.gz unpack ./gtkrc_themes.tar.bz2 } src_compile() { econf --enable-animation || die "configure failed" emake || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "install failed" cd ${WORKDIR} chmod -R ugo=rX Aurora* || die "install failed" dodir /usr/share/themes insinto /usr/share/themes for THEME in Aurora*; do if [[ -d ${THEME} ]]; then doins -r ${THEME} fi done }