# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality with various WMs" HOMEPAGE="http://thegraveyard.org/skippy.php" # Point to any required sources; these will be automatically downloaded by # Portage. SRC_URI="http://thegraveyard.org/files/${P}.tar.bz2" # License of the package. This must match the name of file(s) in # /usr/portage/licenses/. For complex license combination see the developer # docs on gentoo.org for details. LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/x11 virtual/xft >=media-libs/imlib2-1.1.0" src_unpack() { unpack ${A} cd ${S} } src_compile() { emake BINDIR=/usr || die "emake failed" } src_install() { make DESTDIR=${D} BINDIR=/usr/bin install || die if [ ! -d ${D}/usr/share/doc/${P} ]; then mkdir -p ${D}/usr/share/doc/${P} fi cp skippyrc-default ${D}/usr/share/doc/${P} } pkg_postinst() { einfo einfo "You should copy /usr/share/doc/${P}/skippyrc-default to ~/.skippyrc" einfo "and edit the keysym used to invoke skippy" einfo "(Find out the keysym name using 'xev')" }