summaryrefslogtreecommitdiff
path: root/user/aspell-dict-hi/APKBUILD
blob: e7b114ce5f21af6988495ca72b03af6718d87bb1 (plain) (blame)
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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=aspell-dict-hi
pkgver=0.02.0
_pkgver=${pkgver%.*}-${pkgver#*.*.}
pkgrel=0
pkgdesc="Hindi dictionaries for aspell"
url="http://aspell.net"
arch="noarch"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends="aspell"
makedepends="cmd:which"
source="https://ftp.gnu.org/gnu/aspell/dict/hi/aspell6-hi-$_pkgver.tar.bz2"
builddir="$srcdir/aspell6-hi-$_pkgver"

prepare() {
	sed -e 's/u-deva/u-deva-hi/g' -i info -i Makefile.pre -i hi.dat
	mv u-deva.cmap u-deva-hi.cmap
	mv u-deva.cset u-deva-hi.cset
}
build() {
	./configure --vars DESTDIR="$pkgdir"
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="298743e1e5988e26081d89ee6cdea3b2f3185ad81b3449b5fa3f644a2beaf488320f9468fbeeb7e6c7bcb3ae4b7116bd02f64c4e6f4c60f80c1a7c3b84946a93  aspell6-hi-0.02-0.tar.bz2"