# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ S=${WORKDIR}/${P} DESCRIPTION="a collection of several free cardsets for PySol" HOMEPAGE="http://www.oberhumer.com/opensource/pysol/" SRC_URI="http://www.oberhumer.com/opensource/pysol/download/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc" IUSE="" DEPEND="games-board/pysol" # Note that this package actually includes card sets that # are supplied with the base pysol package. As of 4.82, # those are: #cardset-2000 #cardset-colossus #cardset-hard-a-port #cardset-hexadeck #cardset-kintengu #cardset-oxymoron #cardset-tuxedo #cardset-vienna-2k # At present, this ebuild simply overwrites those directories. src_install () { target_pkg=`best_version games-board/pysol` # extract version from target_pkg target_ver="${target_pkg#*pysol-}" target_dir=/usr/share/pysol/"${target_ver}" dodir "${target_dir}" # alterative to this loop: # cp -a ${S}/data/cardset-* "${D}${target_dir}" insopts -m444 cd data for d in cardset-*;do dodir "${target_dir}/${d}" insinto "${target_dir}/${d}" doins "${d}"/* done } src_compile() { # not a compilable package true }