summaryrefslogblamecommitdiff
path: root/user/enchant/APKBUILD
blob: be755463702b050f299ad4087e8089edcc89fa21 (plain) (tree)
1
2
3
4
5
6
7
8
              
               
             
        
                                            

                                        
                                                          


                                       
                                              
                                                                      
                                                                                             

         








                                         



                  


                                      
                                                                                                                                                                    
# Maintainer: 
pkgname=enchant
pkgver=2.2.11
pkgrel=0
pkgdesc="Generic library for spell checking"
url="https://abiword.github.io/enchant/"
arch="all"
options="!check"  # Requires dictionary that it can't find
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
checkdepends="aspell-dict-en unittest-cpp-dev"
makedepends="aspell-dev bash dbus-glib-dev file glib-dev hunspell-dev"
source="https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz"

build() {
	CC="gcc" OBJC="gcc" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	make check
}

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

sha512sums="7d9014f6d3798120eddcfe58dd5efdb04d8b10046ecd66526e75342fe33d4c8cb55ab12d377a8ff2d817374161ce36f39fdb1584b711dd61d61491f8082fa91f  enchant-2.2.11.tar.gz"