diff options
Diffstat (limited to 'app-dicts/duali-data')
-rw-r--r-- | app-dicts/duali-data/Manifest | 5 | ||||
-rw-r--r-- | app-dicts/duali-data/duali-data-0.1b-r1.ebuild | 38 | ||||
-rw-r--r-- | app-dicts/duali-data/metadata.xml | 8 |
3 files changed, 51 insertions, 0 deletions
diff --git a/app-dicts/duali-data/Manifest b/app-dicts/duali-data/Manifest new file mode 100644 index 000000000000..a9fc31433789 --- /dev/null +++ b/app-dicts/duali-data/Manifest @@ -0,0 +1,5 @@ +DIST duali-data-0.1b.tar.gz 1155647 SHA256 a171b073f296631f09cf316865c693add550f185fb27a0a2789e2686fbe15042 SHA512 c8aea8c02e91991d9ee9149ae20d5a40d6a88c7a54d13a9d1fcbf94ad4bedb177ed18cc9330fd2c4565684299d8f9359d213e27ebd46e129c41d4a7c42fa9d9c WHIRLPOOL d43061788f62468f57732bb27d9816fab31e47bcef5939d4b50f19a4781f5f2cb39abf214cbc2b9e25b4c8ef344c1a77f63460688b704d59562c81eff339194a +EBUILD duali-data-0.1b-r1.ebuild 1021 SHA256 dfb0e281b5ecb85fee5bcff8d84b87af8225a9dc08da701ce0de4086f8255f02 SHA512 8fd9bf6554a8906b6a927e757ed23e3b7f8e7228dcfc4fa70b260addeebcb4b76fa2b7c7f823e876d79d0133c5c3241987d1da33c2b44350921727a106673a23 WHIRLPOOL 5fb54d4fa081fc3d20f78cbba62c6c5015e08d8bb2e0d1b830d4fd5e17381e8ff4fd728ff0e7089021347fc916a8881087a7b4c9b7c740d5fb8903b4724c317b +MISC ChangeLog 4198 SHA256 3e7e0e9597b47643ed7a00434b5afa1d0c1d020959e395468b9e5fb71a103fae SHA512 92fbfac0ef56c9ecca1b271613396dbdebfe624a39cbb8e2ea1791ff6edf5da9ab944ca81b05a349eaccec61dc106e8ae73a30715cde40ba1b7fac7219fe1eae WHIRLPOOL a13dadd45b6bca854203966a65c2891cfe1d1ae14e0a644f9562169e341f7c5e6a5397ece156d14a03a1545f08bf01b3722cc57f1b501da4fd2cdd13af05aa58 +MISC ChangeLog-2015 1836 SHA256 841c31e8c9bdecf844b142268946c2f0dd477731402197752b5e71bf29952266 SHA512 1fd3b5e7fcf76414485ff6f3011de3dc872f34114f7df2f259024f9ddee09650c401788bd89e8a78ee5c5e1e1ae283c74b3968e65d441426e67e3ebb3808329d WHIRLPOOL 5a631d2ed6cc173acfdb846a84fd41fafee9ec07f153df258198de8ab03250f8d7bafa9fcdcfe9718edd6331cdaceb8d806e25185c633cebe882e485a1c0793e +MISC metadata.xml 245 SHA256 b1ba64436af220fdfc3060f10fd506bb56a87ac574b51885d672f110c83e5bf5 SHA512 5cf81ad67c841f8eb5a71ef18b6ae6c344d68fb63c80c21f4a9b9a0060de938264530276a152eb5451dd88a5955f04a48c8cd4d034be6bc7a1922b5e4f43539f WHIRLPOOL 99bfe54c3b1f17bd70d63f6cfaae2af82dbe19f6256d755fda680766d7fb220ea1e0ea25a1ffa8057032eb4e07130852168a09cd6e58bc3f0041487b9d111af9 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> |