summaryrefslogtreecommitdiff
path: root/extra/gtkspell
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtkspell')
-rw-r--r--extra/gtkspell/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/gtkspell/PKGBUILD b/extra/gtkspell/PKGBUILD
index 162584730..5dc2fef2d 100644
--- a/extra/gtkspell/PKGBUILD
+++ b/extra/gtkspell/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 58462 2009-11-08 16:00:59Z jgc $
+# $Id: PKGBUILD 150411 2012-02-17 12:37:06Z allan $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributer: Ben <ben@benmazer.net>
pkgname=gtkspell
pkgver=2.0.16
-pkgrel=1
+pkgrel=2
url="http://gtkspell.sourceforge.net/"
pkgdesc="GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('gtk2>=2.18.3' 'enchant>=1.5.0')
+depends=('gtk2' 'enchant')
makedepends=('intltool' 'gtk-doc')
options=('!libtool')
source=(http://gtkspell.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz)
@@ -17,7 +17,11 @@ md5sums=('f75dcc9338f182c571b321d37c606a94')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}