summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/aspell/PKGBUILD34
-rw-r--r--abs/core/aspell/aspell.install9
2 files changed, 23 insertions, 20 deletions
diff --git a/abs/core/aspell/PKGBUILD b/abs/core/aspell/PKGBUILD
index 8d584b9..1b88938 100644
--- a/abs/core/aspell/PKGBUILD
+++ b/abs/core/aspell/PKGBUILD
@@ -1,31 +1,33 @@
-# $Id: PKGBUILD 19099 2008-11-14 21:50:10Z thayer $
+# $Id: PKGBUILD 131851 2011-07-16 03:59:19Z eric $
# Contributor: Jochem Kossen <j.kossen@home.nl>
# Contributor: dorphell <dorphell@archlinux.org>
-# Maintainer: Thayer Williams <thayer@archlinux.org>
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=aspell
-pkgver=0.60.6
+pkgver=0.60.6.1
_pkgmajorver=0.60
-pkgrel=4
+pkgrel=1
pkgdesc="A spell checker designed to eventually replace Ispell"
-url="http://aspell.net/"
arch=('i686' 'x86_64')
+url="http://aspell.net/"
license=('LGPL')
-depends=('gcc-libs' 'ncurses>=5.6-7')
+depends=('gcc-libs' 'ncurses')
optdepends=('perl: to import old dictionaries')
-options=(!libtool)
+options=('!libtool')
install=aspell.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('bc80f0198773d5c05086522be67334eb')
+md5sums=('e66a9c9af6a60dc46134fdacf6ce97d7')
+sha1sums=('ff1190db8de279f950c242c6f4c5d5cdc2cbdc49')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- ln -s ${pkgname}-${_pkgmajorver} ${pkgdir}/usr/lib/${pkgname} || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
- # cleanup info files
- rm ${pkgdir}/usr/share/info/dir || return 1
- gzip ${pkgdir}/usr/share/info/* || return 1
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ ln -s ${pkgname}-${_pkgmajorver} "${pkgdir}/usr/lib/${pkgname}"
}
diff --git a/abs/core/aspell/aspell.install b/abs/core/aspell/aspell.install
index 2747f02..4bb848e 100644
--- a/abs/core/aspell/aspell.install
+++ b/abs/core/aspell/aspell.install
@@ -1,23 +1,24 @@
-infodir=/usr/share/info
+infodir=usr/share/info
filelist=(aspell.info aspell-dev.info)
post_install() {
+ echo "==> aspell comes with no default dictionary"
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
- echo "==> aspell comes with no default dictionary"
}
post_upgrade() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
}
pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
}
-
-# vim:set ts=2 sw=2 et: