mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-dicts/canna-yubin: new package, add 0.4.0.20210430.0
app-dicts/canna-skk-dictionaries: add 0 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
app-dicts/canna-skk-dictionaries/Manifest
Normal file
1
app-dicts/canna-skk-dictionaries/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST skk-dictionaries.patch 6286237 BLAKE2B cd677cff3eaa872a204a125ee323f5eac563ec4eba060572618edd2472baf63f1eb8c57fbacd88ee17748d02a08f91b42e05ee348e6cf1a726559b24d3847e25 SHA512 380fda2d95a1cad1ba74fa0c434294e749f02c9f57f84017a27a0cbee0995ed3a3ccdfc86dfb42338ecbf14e4a9da75d5ef2beb0dc1f2e1b3e4bc90ba0990df2
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( geo zipcode )
|
||||
DICSDIRFILE="${FILESDIR}/02skk-dictionaries.dics.dir"
|
||||
MYPN="${PN/canna-/}"
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="skk jisyo zipcode and geo datasets for canna"
|
||||
HOMEPAGE="https://src.fedoraproject.org/rpms/Canna"
|
||||
SRC_URI="https://src.fedoraproject.org/rpms/Canna/raw/f29/f/${MYPN}.patch"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=app-i18n/canna-3.6_p3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p dic/ideo/words/ || die
|
||||
tail -n +30 "${DISTDIR}/${MYPN}.patch" | patch -p1 || die
|
||||
mv dic/ideo/words/*.t -t . || die
|
||||
sed -e '/\# This/d' -e '/\# Date/d' -i *.t || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkbindic zipcode.t || die
|
||||
mkbindic geo.t || die
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
zipcode.cbd(zipcode.mwd) -zipcode---
|
||||
zipcode.cld(zipcode.mwd) -zipcode---
|
||||
|
||||
geo.cbd(geo.mwd) -geo---
|
||||
geo.cld(geo.mwd) -geo---
|
||||
9
app-dicts/canna-skk-dictionaries/metadata.xml
Normal file
9
app-dicts/canna-skk-dictionaries/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
1
app-dicts/canna-yubin/Manifest
Normal file
1
app-dicts/canna-yubin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST canna-yubin-0.4.0.20210430.0.tar.xz 1913580 BLAKE2B 0c7663f3b71e2409022afdd030150753b7483a01ce718e2931bbb8cf8322ac863db789f6488d48342efa6dad29e7b37f2bf81da6cb3b68de9550a6b6344efa13 SHA512 e5a9d4979b05d0b6d32a2f80c5be7aa6749fb462eab2a88725b843622b37140fb171e8e4cfcf5a494e90b940561d383332cddbb0950e9bc0b26f7a5ef86d9923
|
||||
24
app-dicts/canna-yubin/canna-yubin-0.4.0.20210430.0.ebuild
Normal file
24
app-dicts/canna-yubin/canna-yubin-0.4.0.20210430.0.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( yubin7 )
|
||||
DICSDIRFILE="${FILESDIR}/yubin.dics.dir"
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="Japanese postal code number extension dictionary for Canna"
|
||||
HOMEPAGE="https://osdn.net/projects/canna-yubin/"
|
||||
SRC_URI="https://jaist.dl.osdn.jp/${PN}/75047/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+ public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=app-i18n/canna-3.6_p3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="-j1" emake
|
||||
}
|
||||
2
app-dicts/canna-yubin/files/yubin.dics.dir
Normal file
2
app-dicts/canna-yubin/files/yubin.dics.dir
Normal file
@@ -0,0 +1,2 @@
|
||||
yubin7.cbd(yubin7.mwd) -yubin7---
|
||||
yubin7.cld(yubin7.mwd) -yubin7---
|
||||
9
app-dicts/canna-yubin/metadata.xml
Normal file
9
app-dicts/canna-yubin/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user