diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-19 00:31:40 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-19 00:31:40 -0300 |
commit | b7be3e931b811decb9a8686a60e52fe723bbaf81 (patch) | |
tree | 2e7da21de151c50ecdfa97a9d4ef5db5de62db51 /extra/ispell/PKGBUILD | |
parent | 78397621fc97288066a5d73989811ab0fe641bd6 (diff) | |
parent | 1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/ipvsadm/PKGBUILD
community/arch/PKGBUILD
community/chntpw/PKGBUILD
community/dnstracer/PKGBUILD
community/dvtm/PKGBUILD
community/gnash/PKGBUILD
community/ngspice/PKGBUILD
community/siege/PKGBUILD
extra/enscript/PKGBUILD
extra/gconfmm/PKGBUILD
extra/gftp/PKGBUILD
extra/libart-lgpl/PKGBUILD
extra/libcaca/PKGBUILD
extra/libdv/PKGBUILD
extra/libgnomemm/PKGBUILD
extra/libidl2/PKGBUILD
extra/libvisual/PKGBUILD
extra/libxdamage/PKGBUILD
extra/libxrender/PKGBUILD
extra/openslp/PKGBUILD
extra/snarf/PKGBUILD
multilib/wine/PKGBUILD
testing/mesa/PKGBUILD
testing/xf86-video-glint/PKGBUILD
Diffstat (limited to 'extra/ispell/PKGBUILD')
-rw-r--r-- | extra/ispell/PKGBUILD | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/extra/ispell/PKGBUILD b/extra/ispell/PKGBUILD index 4cd911cbe..881dec357 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' 'mips64el') 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 \ |