[arch-commits] Commit in ispell/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 19 09:02:32 UTC 2020
Date: Tuesday, May 19, 2020 @ 09:02:31
Author: foutrelis
Revision: 386512
archrelease: copy trunk to staging-x86_64
Added:
ispell/repos/staging-x86_64/
ispell/repos/staging-x86_64/PKGBUILD
(from rev 386511, ispell/trunk/PKGBUILD)
ispell/repos/staging-x86_64/license.txt
(from rev 386511, ispell/trunk/license.txt)
-------------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
license.txt | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 89 insertions(+)
Copied: ispell/repos/staging-x86_64/PKGBUILD (from rev 386511, ispell/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 09:02:31 UTC (rev 386512)
@@ -0,0 +1,54 @@
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Maintainer:
+
+pkgname=ispell
+pkgver=3.4.00
+pkgrel=3
+pkgdesc="An interactive spell-checking program for Unix"
+arch=('x86_64')
+url="https://www.cs.hmc.edu/~geoff/ispell.html"
+license=('BSD')
+depends=('ncurses')
+options=('!makeflags')
+source=(https://www.cs.hmc.edu/~geoff/tars/$pkgname-$pkgver.tar.gz
+ license.txt)
+sha256sums=('5dc42e458635f218032d3ae929528e5587b1e7247564f0e9f9d77d5ccab7aec2'
+ '359eca8bfb77db63785c4c304ecd3568b26cdf736946388e509933fc8a3f66bd')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ 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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+# creating directory structure
+ install -dm755 "${pkgdir}"/usr/{bin,lib/ispell,share/man/man{1,5}}
+
+# Installing binary tools
+ for b in buildhash findaffix icombine ijoin ispell iwhich munchlist tryaffix; do
+ install -m755 $b "${pkgdir}"/usr/bin/
+ done
+
+# Installing man pages
+ 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 -m644 languages/american/americanmed.hash \
+ "${pkgdir}"/usr/lib/ispell/americanmed.hash
+ install -m644 languages/english/english.aff \
+ "${pkgdir}"/usr/lib/ispell/english.aff
+ ln -s americanmed.hash "${pkgdir}"/usr/lib/ispell/american.hash
+ ln -s americanmed.hash "${pkgdir}"/usr/lib/ispell/english.hash
+
+# Installing license
+ install -Dm644 "${srcdir}"/license.txt \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt
+}
Copied: ispell/repos/staging-x86_64/license.txt (from rev 386511, ispell/trunk/license.txt)
===================================================================
--- staging-x86_64/license.txt (rev 0)
+++ staging-x86_64/license.txt 2020-05-19 09:02:31 UTC (rev 386512)
@@ -0,0 +1,35 @@
+ Copyright (c), 1983, by Pace Willisson
+
+ Copyright 1992, 1993, 1999, 2001, 2005, Geoff Kuenning, Claremont, CA
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. All modifications to the source code must be clearly marked as
+ such. Binary redistributions based on modified source code
+ must be clearly marked as modified versions in the documentation
+ and/or other materials provided with the distribution.
+ 4. The code that causes the 'ispell -v' command to display a prominent
+ link to the official ispell Web site may not be removed.
+ 5. The name of Geoff Kuenning may not be used to endorse or promote
+ products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
More information about the arch-commits
mailing list