# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Catalan - English dictionary" HOMEPAGE="http://dacco.sourceforge.net" SRC_URI="mirror://sourceforge/dacco/${P}.zip" LICENSE="LGPL" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="" DEPEND="${RDEPEND}" src_compile() { unpack ${A} || die "unpack failed" } src_install() { cd ${WORKDIR} # mv Dacco* ${P} # mkdir ${D}usr/ # mkdir ${D}usr/share/ # cp -r ${P} ${D}usr/share/ mv Dacco* dacco-common mkdir ${D}usr/ mkdir ${D}usr/share/ cp -r dacco-common ${D}usr/share/ } pkg_postinst() { echo einfo "Dictionaries are installed in /usr/share/dacco-common by default" echo }