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

                                        
                                                          


                                       
                                              
                                                                      
                                                                                             

         








                                         



                  


                                      
                                                                                                                                                                   
# Maintainer: 
pkgname=enchant
pkgver=2.2.7
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="696455cf782b3186d19988ed59ca3cc6030a431d44ef3828039590afb08fd282a79ce6246a342e6bf7a0bf3bf63d4822d841ba01394da9f9e4394a491b2373b6  enchant-2.2.7.tar.gz"