blob: 260724974a25972a9232937c82a50f0558541590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: Hayate Nakamura <hayatehay.njb at gmail dot com>
pkgname=anthy-unicode
pkgver=1.0.0.20240502
pkgrel=1
pkgdesc='Hiragana text to Kana Kanji mixed text Japanese input method'
arch=('x86_64')
url='https://github.com/fujiwarat/anthy-unicode'
license=('LGPL' 'GPL')
source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('835f7cbd5c3afc3dcd7002b77c94a5c69e67f970584c223b47329ece011148cbc4e9f65332c00bbdbe2f407a2daa7f9e10067a182a27d07074e0f1406bb3bbc2')
makedepends=('emacs')
provides=('anthy')
conflicts=('anthy')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make EMACS=emacs DESTDIR="${pkgdir}" install
cd ${pkgdir}/etc
ln -sf anthy-unicode.conf anthy-conf
cd ${pkgdir}/usr/bin
ln -sf anthy-agent-unicode anthy-agent
ln -sf anthy-dic-tool-unicode anthy-dic-tool
ln -sf anthy-morphological-analyzer-unicode anthy-morphological-analyzer
cd ${pkgdir}/usr/include
ln -sf anthy-unicode-1.0/anthy anthy
cd ${pkgdir}/usr/lib
ln -sf libanthy-unicode.so.0.1.0 libanthy.so.0.1.0
ln -sf libanthy-unicode.so.0.1.0 libanthy.so.0
ln -sf libanthy-unicode.so.0.1.0 libanthy.so
ln -sf libanthydic-unicode.so.0.1.0 libanthydic.so.0.1.0
ln -sf libanthydic-unicode.so.0.1.0 libanthydic.so.0
ln -sf libanthydic-unicode.so.0.1.0 libanthydic.so
ln -sf libanthyinput-unicode.so.0.0.0 libanthyinput.so.0.0.0
ln -sf libanthyinput-unicode.so.0.0.0 libanthyinput.so.0
ln -sf libanthyinput-unicode.so.0.0.0 libanthyinput.so
cd ${pkgdir}/usr/share
ln -sf anthy-unicode anthy
mkdir ${pkgdir}/usr/share/emacs/site-lisp/anthy
cd ${pkgdir}/usr/share/emacs/site-lisp/anthy
ln -sf ../anthy-unicode/anthy-unicode-azik.el anthy-azik.el
ln -sf ../anthy-unicode/anthy-unicode-conf.el anthy-conf.el
ln -sf ../anthy-unicode/anthy-unicode-dic.el anthy-dic.el
ln -sf ../anthy-unicode/anthy-unicode-isearch.el anthy-isearch.el
ln -sf ../anthy-unicode/anthy-unicode-kyuri.el anthy-kyuri.el
ln -sf ../anthy-unicode/anthy-unicode.el anthy.el
ln -sf ../anthy-unicode/leim-list.el leim-list.el
}
|