From 29c71a0562acb9990fb9ffc21bbecda79f357bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 23 Apr 2017 10:31:42 +0200 Subject: Add dictionaries --- .../stardict-en-cz/stardict-en-cz-20170401.ebuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild (limited to 'app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild') diff --git a/app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild b/app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild new file mode 100644 index 0000000..03d829b --- /dev/null +++ b/app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="GNU/FDL English-Czech dictionary for StarDict" +HOMEPAGE="http://slovnik.zcu.cz/" +SRC_URI="http://dl.cihar.com/slovnik/stardict-english-czech-${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +S="${WORKDIR}/stardict-english-czech-${PV}" + +src_install() { + dodir /usr/share/stardict/dic + cp "${S}"/czech-english.* "${D}"/usr/share/stardict/dic/ + cp "${S}"/english-czech.* "${D}"/usr/share/stardict/dic/ +} -- cgit v1.2.3