summaryrefslogtreecommitdiff
path: root/extra/gnome-spell/PKGBUILD
blob: 020398658bb297d13ea4e730b9544050c1d9c5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 49931 2009-08-16 21:48:16Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-spell
pkgver=1.0.8
pkgrel=2
pkgdesc="Spell Checking Support for Gnome"
arch=(i686 x86_64)
license=('GPL')
depends=('libgnomeui>=2.24.1' 'enchant>=1.4.2')
makedepends=('pkgconfig' 'intltool')
options=('!libtool')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2
        gnome-spell-enchant.diff)
md5sums=('6ccc46b4e3dc7cb1c6d413358e35d445' '12a357212809e0f0aba8c08d1372e60a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np0 -i "${srcdir}/gnome-spell-enchant.diff" || return 1
  libtoolize --force || return 1
  aclocal || return 1
  autoconf || return 1
  automake || return 1

  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}