# Maintainer: Natanael Copa pkgname=gtkspell pkgver=2.0.16 pkgrel=6 pkgdesc="GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget" url="http://gtkspell.sourceforge.net/" arch="all" license="GPL" depends_dev="gtk+2.0-dev" makedepends="$depends_dev enchant-dev intltool" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://$pkgname.sourceforge.net/download/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } md5sums="f75dcc9338f182c571b321d37c606a94 gtkspell-2.0.16.tar.gz"