aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell-pt/APKBUILD
blob: bd9e89ba3162bc319e9f049c8cd88101e360d626 (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
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=hunspell-pt
pkgver=20150704
pkgrel=0
pkgdesc="Portuguese hunspell dictionaries"
url="http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/"
arch="noarch"
license="LGPLv2 GPLv2 MPLv1.1"
depends=""
makedepends=""
source="http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20150704.tar.gz
	"

_builddir="$srcdir"/hunspell-pt_PT-$pkgver

build() {
	:
}

package() {
	cd "$_builddir"

	install -dm755 $pkgdir/usr/share/hunspell
	install -m644 pt_*.dic pt_*.aff $pkgdir/usr/share/hunspell

	local lang
	for lang in pt_AO; do
		ln -svf pt_PT.aff $pkgdir/usr/share/hunspell/$lang.aff
		ln -svf pt_PT.dic $pkgdir/usr/share/hunspell/$lang.dic
	done

	# docs
	install -dm755 ${pkgdir}/usr/share/doc/$pkgname
	install -m644 README_pt*.txt $pkgdir/usr/share/doc/$pkgname
}

md5sums="66c992c86b3ceffa27d449957b69b0dc  hunspell-pt_PT-20150704.tar.gz"
sha256sums="2cf4b5ff5e48744636adc310fc9b57e8e5d3e38df2c73512924c0466e6aeb76f  hunspell-pt_PT-20150704.tar.gz"
sha512sums="a1209c292e86d2bd396706860859eaa0505f833df9e51be428b7393636b728442858403fcde1344cf2f1bd9181f89e9d1b56037528079c8d8d14df910f9f0ef4  hunspell-pt_PT-20150704.tar.gz"