# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="SK@LE Tracker" HOMEPAGE="http://www.skale.org" SRC_URI="http://www.binarydeception.com/files/076w/Skale076wFixed.rar" LICENSE="" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="app-arc/unrar virtual/libc media-libs/sdl" SKPath=Skale076wFixed S=${WORKDIR}/${SKPath} src_unpack() { unrar x -r ${DISTDIR}/${A} || die "Unpacking the source failed" cd ${S} || die "Could not change directory." } src_install() { echo ${D} ${S} dodir /usr/bin dodir /usr/share/${P} cp -pR ${S}/* ${D}/usr/share/${P} || die "Install failed" cd ${D}/usr/share/${P} mv Sk@le076wFixed.rh9 sk@le chmod +x sk@le # cd ../../bin # ln -sf ../share/${P}/sk@le sk@le }