summaryrefslogtreecommitdiff
path: root/app-dicts/duali-data
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-dicts/duali-data
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-dicts/duali-data')
-rw-r--r--app-dicts/duali-data/Manifest3
-rw-r--r--app-dicts/duali-data/duali-data-0.1b-r1.ebuild38
-rw-r--r--app-dicts/duali-data/metadata.xml8
3 files changed, 49 insertions, 0 deletions
diff --git a/app-dicts/duali-data/Manifest b/app-dicts/duali-data/Manifest
new file mode 100644
index 000000000000..45df3dbea630
--- /dev/null
+++ b/app-dicts/duali-data/Manifest
@@ -0,0 +1,3 @@
+DIST duali-data-0.1b.tar.gz 1155647 BLAKE2B d347f558308258972e4a17e5ef19d775a9e0676e64e48937e96149b8b09f5d6c497d7f1dd87d3505ac3b87f50e47910996689d7a8af8be04e02d4eb84f47f7b2 SHA512 c8aea8c02e91991d9ee9149ae20d5a40d6a88c7a54d13a9d1fcbf94ad4bedb177ed18cc9330fd2c4565684299d8f9359d213e27ebd46e129c41d4a7c42fa9d9c
+EBUILD duali-data-0.1b-r1.ebuild 1021 BLAKE2B 4530e45f3592d82c136604acf7c7dc703aa7298101d633c5af35ec0597c6fcb47f20adae10d7b7632a182ad008fe86c52dcc4c6146eea8d3e0ca7e0f088339ad SHA512 8fd9bf6554a8906b6a927e757ed23e3b7f8e7228dcfc4fa70b260addeebcb4b76fa2b7c7f823e876d79d0133c5c3241987d1da33c2b44350921727a106673a23
+MISC metadata.xml 245 BLAKE2B 7dc5df660e9e3cc71fcd39abbcc77edc7890bd44fa6e2d68556b914e6a35c6e6526e281b6aa286a0f12893a527669c2fbf64d63c8ad555137e222832edaf2cc1 SHA512 5cf81ad67c841f8eb5a71ef18b6ae6c344d68fb63c80c21f4a9b9a0060de938264530276a152eb5451dd88a5955f04a48c8cd4d034be6bc7a1922b5e4f43539f
diff --git a/app-dicts/duali-data/duali-data-0.1b-r1.ebuild b/app-dicts/duali-data/duali-data-0.1b-r1.ebuild
new file mode 100644
index 000000000000..29fa249f7b2c
--- /dev/null
+++ b/app-dicts/duali-data/duali-data-0.1b-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Dictionary data for the Arab dictionary project duali"
+HOMEPAGE="https://www.arabeyes.org/Duali"
+SRC_URI="mirror://sourceforge/arabeyes/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 ~hppa ~ia64 ~mips ~ppc ~sparc x86"
+IUSE=""
+
+DEPEND=">=app-text/duali-0.2.0-r1"
+RDEPEND=""
+
+src_compile() {
+ dict2db --path ./ || die 'failed to compile databases'
+}
+
+src_install() {
+ dodoc README
+
+ insinto /usr/share/duali
+ doins tableab tableac tablebc
+
+ # The dict2db script (and the spellchecker itself) use the python
+ # anydbm module, which means we kinda don't know what file suffix is
+ # going to pop out in src_compile. The fact that app-text/duali
+ # requires python[gdbm] means that we should at least get the gdbm
+ # database format (e.g. stemsdb) if not stems.db.
+ if [[ -e stems.db ]]; then
+ doins stems.db prefixes.db suffixes.db
+ else
+ doins stemsdb prefixesdb suffixesdb
+ fi
+}
diff --git a/app-dicts/duali-data/metadata.xml b/app-dicts/duali-data/metadata.xml
new file mode 100644
index 000000000000..c8c6479d60fe
--- /dev/null
+++ b/app-dicts/duali-data/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">arabeyes</remote-id>
+ </upstream>
+</pkgmetadata>