updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / 3 / PKGBUILD
blob8eecc07871e751ace16dfb8bae32aae8b459ca97
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Roman Kyrylych <roman@archlinux.org>
3 # Contributor: Ben <ben@benmazer.net>
5 _pkgname=gtkspell
6 pkgname=${pkgname}3
7 pkgver=2.0.16
8 pkgrel=2
9 url="http://gtkspell.sourceforge.net/"
10 pkgdesc="GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
11 arch=(i686 x86_64)
12 license=('GPL')
13 depends=(gtk3 enchant)
14 makedepends=(intltool gtk-doc)
15 options=(!libtool)
16 source=(http://gtkspell.sourceforge.net/download/$_pkgname-$pkgver.tar.gz
17         gtk3_support.patch)
18 md5sums=(f75dcc9338f182c571b321d37c606a94
19          c29be0667f59034b94bdd66e8f16b84c)
21 build() {
22   cd "$srcdir/$_pkgname-$pkgver"
24   # Add gtk3 support
25   patch -Np1 -i $srcdir/gtk3_support.patch
27   autoreconf -fi
28   ./configure --prefix=/usr
29   make
32 package() {
33   cd "$srcdir/$_pkgname-$pkgver"
35   make -C gtkspell DESTDIR="$pkgdir" install