DESCRIPTION="Database of the Italian cookies for the fortune program" HOMEPAGE="http://www.fortune-it.net/main.html" SRC_URI="http://www.fortune-it.net/download/fortune-it-1.99.tar.gz" LICENSE="freedist" SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="offensive" DEPEND="games-misc/fortune-mod" S="${WORKDIR}/fortune-it-1.99" src_unpack() { unpack ${A} use offensive || rm -f ${S}/testi/*-o } src_compile() { local f for f in `ls testi/` do strfile -s ${S}/testi/${f} || die "strfile ${S}/testi/${f} failed" done } src_install() { dodir /usr/share/fortune cp ${S}/testi/* "${D}/usr/share/fortune" || die "cp failed" dodoc README } Reproducible: Always Steps to Reproduce:
Created attachment 45331 [details] fortune-mod-it-1.99.ebuild
Created attachment 45339 [details] fortune-mod-it-1.99.ebuild Some syntax changes
In attachment you can get the new version with best syntax
now in portage, thanks :)