summaryrefslogtreecommitdiff
path: root/app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild
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/stardict-en-cz-20170401.ebuild
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/stardict-en-cz-20170401.ebuild')
-rw-r--r--app-dicts/stardict-en-cz/stardict-en-cz-20170401.ebuild20
1 files changed, 20 insertions, 0 deletions
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/
+}