summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-dicts/stardict-en-cz/stardict-en-cz-20170621.ebuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-dicts/stardict-en-cz/stardict-en-cz-20170621.ebuild b/app-dicts/stardict-en-cz/stardict-en-cz-20170621.ebuild
new file mode 100644
index 0000000..03d829b
--- /dev/null
+++ b/app-dicts/stardict-en-cz/stardict-en-cz-20170621.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/
+}