blob: afc153d9c60d052efabc8ab6f2bfcc8c65007e47 (
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
|
# Maintainer: Frédéric Mangano <fmang+aur mg0.fr>
pkgname=wish-edict
pkgver=20230702
pkgrel=1
pkgdesc='Japanese-English dictionaries EDICT2 and KANJIDIC for Wish'
license=('Creative Commons BY-SA')
url='http://www.edrdg.org/jmdict/edict.html'
arch=('any')
depends=('wish')
source=('http://ftp.edrdg.org/pub/Nihongo/kanjidic.gz'
'http://ftp.edrdg.org/pub/Nihongo/edict2.gz')
sha256sums=(SKIP SKIP)
pkgver() {
date +%Y%m%d
}
build() {
cd "$srcdir"
rm -rf db
wdic --database db --load --kanjidic kanjidic --edict edict2
}
package() {
cd "$srcdir"
install -dm755 "$pkgdir/usr/share/wish/db"
install -m644 db/* "$pkgdir/usr/share/wish/db"
}
|