core/enchant/PKGBUILD

31 lines
854 B
Bash
Raw Normal View History

2010-05-17 15:50:50 +08:00
# $Id: PKGBUILD 77532 2010-04-15 13:26:42Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
2010-03-14 23:48:48 +08:00
pkgname=enchant
2010-05-17 15:50:50 +08:00
pkgver=1.6.0
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="A wrapper library for generic spell checking"
arch=('i686' 'x86_64')
url="http://www.abisource.com/enchant/"
license=('LGPL')
2010-05-17 15:50:50 +08:00
depends=('aspell' 'dbus-glib' 'hunspell')
2010-03-14 23:48:48 +08:00
makedepends=('hspell')
2010-05-17 15:50:50 +08:00
options=('!libtool')
source=("http://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('de11011aff801dc61042828041fb59c7')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-05-17 15:50:50 +08:00
./configure --prefix=/usr \
--disable-static \
--disable-ispell \
--with-myspell-dir=/usr/share/myspell || return 1
2010-03-14 23:48:48 +08:00
make || return 1
2010-05-17 15:50:50 +08:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-03-14 23:48:48 +08:00
make DESTDIR="${pkgdir}" install || return 1
}