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

                                                 
                      
               

                                        
                                               
             
                                  

                      
                       


                                                                         

         


                                    


           
                                           
                 


                                                                                                               
 
 
                                                                                                                                                                         
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=aspell-dict-de
pkgver=20161207
pkgrel=0
pkgdesc="German dictionaries for aspell"
url="http://j3e.de/ispell/igerman98/index.html"
arch="noarch"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends="aspell"
makedepends="cmd:which"
source="https://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2"
builddir="$srcdir/igerman98-$pkgver"
_langs="de_DE de_AT de_CH"

build() {
	for i in $_langs; do
		make aspell/${i}.rws
	done
}

package() {
	mkdir -p "$pkgdir"/usr/share/aspell
	cd aspell
	for i in $_langs; do
		install -m644 ${i}.alias ${i}.dat ${i}_affix.dat ${i}.multi ${i}.rws "$pkgdir"/usr/share/aspell
	done
}

sha512sums="62be84ac76fd2a0acc25439aa4c04339e54a1c7a2f619d76e0e01cfb53eeeca263c5cc335e315f9adeee9bab5cc392d4c473ca55cbed371c04c123d6fa2272aa  igerman98-20161207.tar.bz2"