summaryrefslogblamecommitdiff
path: root/user/aspell-dict-mr/APKBUILD
blob: 3a158dfb81fc6630865b73d4bd23949a2bf700b6 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                      

                                   



                                         
                                  

                      
                       
                                                                           

                                      





                                                                       
         

                                            


           
                                      
 
 
                                                                                                                                                                        
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=aspell-dict-mr
pkgver=0.10.0
_pkgver=${pkgver%.*}-${pkgver#*.*.}
pkgrel=0
pkgdesc="Marathi 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/mr/aspell6-mr-$_pkgver.tar.bz2"
builddir="$srcdir/aspell6-mr-$_pkgver"

prepare() {
	sed -e 's/u-deva/u-deva-mr/g' -i info -i Makefile.pre -i mr.dat
	mv u-deva.cmap u-deva-mr.cmap
	mv u-deva.cset u-deva-mr.cset
}

build() {
	./configure --vars DESTDIR="$pkgdir"
	make
}

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

sha512sums="4137a9d6f3dc67db81479a2df628c33c3989214a629f48fc9bb6421e4ce723bdf559eb2f0981c2172315ec140ccd160a10b9556a6618f2fd3383dec184352732  aspell6-mr-0.10-0.tar.bz2"