# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=gspell pkgver=1.14.0 pkgrel=0 pkgdesc="Spelling checker library for GTK programs" url="https://gnome.org" arch="all" options="!check" # does not support enchant aspell backend; see # https://bugzilla.gnome.org/show_bug.cgi?id=772406 license="LGPL-2.1+" depends="" checkdepends="aspell aspell-dict-en" makedepends="enchant-dev glib-dev gobject-introspection-dev gtk-doc gtk+3.0-dev meson vala-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/gspell/${pkgver%.*}/gspell-$pkgver.tar.xz" build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ --wrap-mode=nofallback \ . output meson compile -C output } check() { LANG="en_US.UTF-8" meson test -C output } package() { DESTDIR="$pkgdir" meson install -C output } sha512sums="d2e9931f4c37170b483ece9ee50b0af8aa281cf1bde5ac009d2a0c7dd2dbfc90e591df13dd555465c04cccdc2864b788d372625be9f71d6541e6e6b0fd3c4370 gspell-1.14.0.tar.xz"