summaryrefslogtreecommitdiff
path: root/app-dicts/stardict-en-cz
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-23 10:31:42 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-23 11:12:07 +0200
commit29c71a0562acb9990fb9ffc21bbecda79f357bbb (patch)
treeb02fb0363b84b7471470936b56b9389d68f642c7 /app-dicts/stardict-en-cz
parentf301e670a2f05c92b52c72115b7033490de24ff1 (diff)
downloadgentoo-personal-overlay-29c71a0562acb9990fb9ffc21bbecda79f357bbb.tar.gz
gentoo-personal-overlay-29c71a0562acb9990fb9ffc21bbecda79f357bbb.tar.bz2
gentoo-personal-overlay-29c71a0562acb9990fb9ffc21bbecda79f357bbb.zip
Add dictionaries
Diffstat (limited to 'app-dicts/stardict-en-cz')
-rw-r--r--app-dicts/stardict-en-cz/Manifest1
-rw-r--r--app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild20
2 files changed, 21 insertions, 0 deletions
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/
+}