1 # Maintainer: Roman Kyrylych <roman@archlinux.org>
2 # Contributer: Ben <ben@benmazer.net>
7 url="http://gtkspell.sourceforge.net/"
8 pkgdesc="Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
11 depends=('gtk2' 'enchant')
12 makedepends=('intltool' 'gtk-doc')
13 validpgpkeys=('7C70E4D9927061BD840E82DB6BA6197569B23319') #Daniel Atallah <daniel.atallah@gmail.com>
14 source=(https://downloads.sourceforge.net/sourceforge/gtkspell/${pkgname}-${pkgver}.tar.gz{,.asc}
16 sha256sums=('8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02'
18 '52e693590161bc285ec46a2beece802f47c7ede65ec0b72ffa224ab0db176bad')
24 patch -Np1 -i ../enchant-2.diff
32 ./configure --prefix=/usr --disable-static
33 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
39 make DESTDIR="${pkgdir}" install