summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 244e3ae37c43ca4a13083cd30da33d5ef88dbc7a (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
# Maintainer: Arti Zirk <arti@zirk.me>

# NB: LibreOffice Dictionaries repo contains identical files but claim
# to be much newer bogus 2008.07.01 version.
# https://cgit.freedesktop.org/libreoffice/dictionaries/tree/et_EE

# TODO: figure out how to build https://github.com/jjpp/plamk

pkgname=hunspell-et
pkgver=20030606
pkgrel=2
pkgdesc='Estonian hunspell dictionary'
arch=('any')
url='http://www.meso.ee/~jjpp/speller/'
license=('LicenseRef-custom')
depends=('hunspell' 'hyphen')
source=("http://www.meso.ee/~jjpp/speller/ispell-et_$pkgver.tar.gz")
sha256sums=('4aea338eef90a977134e81e075277912938ce1a97344d7a0dbf238e274a86116')

package() {
	cd ispell-et-$pkgver
	install -Dm644 latin-9/et_EE.aff "$pkgdir/usr/share/hunspell/et_EE.aff"
	install -Dm644 latin-9/et_EE.dic "$pkgdir/usr/share/hunspell/et_EE.dic"

	install -dm755 "$pkgdir/usr/share/myspell/dicts"
	ln -s /usr/share/hunspell/et_EE.aff "$pkgdir/usr/share/myspell/dicts"
	ln -s /usr/share/hunspell/et_EE.dic "$pkgdir/usr/share/myspell/dicts"

	install -Dm644 hyph_et.dic "$pkgdir/usr/share/hyphen/hyph_et_EE.dic"
	install -Dm644 README "$pkgdir/usr/share/doc/hunspell-et/README"
	install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}