PKGBUILDs/extra/gnome-spell/PKGBUILD

31 lines
943 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 49984 2009-08-18 09:08:07Z 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
}