summaryrefslogtreecommitdiff
path: root/extra/ispell/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
committerroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
commit1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (patch)
tree24f65718bdb292fc62194464db8bee1348c48ee5 /extra/ispell/PKGBUILD
parentb31146f2405c7d0f50bcc36b682af46be84cdeb8 (diff)
Sat Feb 18 23:15:35 UTC 2012
Diffstat (limited to 'extra/ispell/PKGBUILD')
-rw-r--r--extra/ispell/PKGBUILD35
1 files changed, 16 insertions, 19 deletions
diff --git a/extra/ispell/PKGBUILD b/extra/ispell/PKGBUILD
index c634a1962..490878ee5 100644
--- a/extra/ispell/PKGBUILD
+++ b/extra/ispell/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 80733 2010-05-20 21:55:16Z dgriffiths $
+# $Id: PKGBUILD 150467 2012-02-18 00:40:03Z allan $
# Contributor: Eric Belanger <eric@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer:
pkgname=ispell
pkgver=3.3.02
-pkgrel=4
+pkgrel=5
pkgdesc="An interactive spell-checking program for Unix"
arch=('i686' 'x86_64')
url="http://ficus-www.cs.ucla.edu/geoff/ispell.html"
@@ -19,34 +19,31 @@ md5sums=('12087d7555fc2b746425cd167af480fe' 'bf51b6181b9914dedc266ba970bb7319'
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- patch -p0 < ${srcdir}/getline.patch || return 1
+ patch -Np0 -i ${srcdir}/getline.patch
- sed -i 's/#undef USG/#define USG/' local.h.linux
- sed -i 's|/usr/local|/usr|' local.h.linux
- sed -i 's|/lib|/lib/ispell|' local.h.linux
+ sed -i -e 's/#undef USG/#define USG/' \
+ -e 's|/usr/local|/usr|' \
+ -e 's|/lib|/lib/ispell|' local.h.linux
cp local.h.linux local.h
- make TMPDIR=/tmp all || return 1
+ make TMPDIR=/tmp all
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # creating directory structure
+ install -dm755 ${pkgdir}/usr/{bin,lib/ispell,share/man/man{1,5}}
+
# Installing binary tools
- install -Dm755 buildhash ${pkgdir}/usr/bin/buildhash
- install -Dm755 findaffix ${pkgdir}/usr/bin/findaffix
- install -Dm755 icombine ${pkgdir}/usr/bin/icombine
- install -Dm755 ijoin ${pkgdir}/usr/bin/ijoin
- install -Dm755 ispell ${pkgdir}/usr/bin/ispell
- install -Dm755 iwhich ${pkgdir}/usr/bin/iwhich
- install -Dm755 munchlist ${pkgdir}/usr/bin/munchlist
- install -Dm755 tryaffix ${pkgdir}/usr/bin/tryaffix
+ for b in buildhash findaffix icombine ijoin ispell iwhich munchlist tryaffix; do
+ install -m755 $b ${pkgdir}/usr/bin/
+ done
# Installing man pages
- install -Dm644 ispell.1 ${pkgdir}/usr/share/man/man1/ispell.1
- install -Dm644 ispell.5 ${pkgdir}/usr/share/man/man5/ispell.5
+ install -m644 ispell.1 ${pkgdir}/usr/share/man/man1/ispell.1
+ install -m644 ispell.5 ${pkgdir}/usr/share/man/man5/ispell.5
# Installing dictionnaries
- install -d ${pkgdir}/usr/bin ${pkgdir}/usr/lib/ispell
install -m644 languages/american/americanmed.hash \
${pkgdir}/usr/lib/ispell/americanmed.hash
install -m644 languages/english/english.aff \