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 --- app-dicts/stardict-en-cz/Manifest | 1 + .../stardict-en-cz/stardict-en-cz-20170401.ebuild | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 app-dicts/stardict-en-cz/Manifest create mode 100644 app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild (limited to 'app-dicts/stardict-en-cz') diff --git a/app-dicts/stardict-en-cz/Manifest b/app-dicts/stardict-en-cz/Manifest new file mode 100644 index 0000000..a50d4b3 --- /dev/null +++ b/app-dicts/stardict-en-cz/Manifest @@ -0,0 +1 @@ +DIST stardict-en-cz-20170401.tar.gz 4167494 SHA256 c9c47492385cd55901598eaeb9683ffe3a3d0a8225d8952accec29354996c600 SHA512 8ab2ecd3e9144a0c5d03106dc4da53adc9f356435dfd28ea41c6e3e9616f06e067e92046d25f69287b2c5e7060e8330856609f2635f234513258c10b17fb5863 WHIRLPOOL ee1eb2b829cf4fac860c77e376edfb387c059c8a3b1a1c69b0ccc93c0d8daece7e630f3b6f84d31aacde8508b29ec5e59e938b5d05e3cada3338c49d1e926e56 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