summaryrefslogtreecommitdiff
path: root/extra/aspell/PKGBUILD
blob: 13f1144e271795c8816abbbd897819b1cfd5bfa2 (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
31
32
33
34
35
36
# $Id: PKGBUILD 107951 2011-01-28 03:53:36Z eric $
# Contributor: Jochem Kossen <j.kossen@home.nl>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=aspell
pkgver=0.60.6
_pkgmajorver=0.60
pkgrel=5
pkgdesc="A spell checker designed to eventually replace Ispell"
url="http://aspell.net/"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gcc-libs' 'ncurses>=5.6-7')
optdepends=('perl: to import old dictionaries')
options=('!libtool')
install=aspell.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('bc80f0198773d5c05086522be67334eb')
sha1sums=('335bcb560e00f59d89ec9e4c4114c325fb0e65f4')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	
	make DESTDIR="${pkgdir}" install
	ln -s ${pkgname}-${_pkgmajorver} \
		"${pkgdir}/usr/lib/${pkgname}"
}