initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

72
ispell/PKGBUILD Normal file
View File

@@ -0,0 +1,72 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=ispell
pkgver=3.4.02
_debver=$pkgver
_debrel=2
pkgrel=2
pkgdesc='An interactive spell-checking program for Unix'
arch=(i686 x86_64)
url="https://www.cs.hmc.edu/~geoff/$pkgname.html"
license=('custom:Ispell')
depends=(ncurses)
makedepends=(byacc quilt)
source=(https://www.cs.hmc.edu/~geoff/tars/${pkgname}-${pkgver}.tar.gz
https://deb.debian.org/debian/pool/main/i/$pkgname/${pkgname}_$_debver-$_debrel.debian.tar.xz
license.txt)
sha512sums=('4392c00d8bcc66a9cc521ef0ba6b06ada896925f7260b7712a65529719b331dab54de5298058c5d130ee52bd088d38ba5fcf7797f265a0f68514765574b966d4'
'6d7323014860539c90f7c0f522da41a0ee736230bfe123821ba9dc235ff45cc66c1d4d74e70d0494c47526ff0841e12334e427a0380bd818b1a6fe7f3688150d'
'c991ab91e629c35d1b84fc9e83b7738141b01612a7108b5a3f49f8f8606c2320727b1e6f2c1333ccaee0b942a126c699ca2ef72e84cb4bc3a1d0947c8a06fa27')
prepare() {
cd $pkgname-$pkgver
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
# Debian patches
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
export QUILT_DIFF_ARGS='--no-timestamps'
mv "$srcdir"/debian .
# Doesn't apply
rm -v debian/patches/0001-Configuration.patch || true
rm -v debian/patches/0003-Fix-FTBFS-on-Hurd.patch || true
rm -v debian/patches/0010-Debian-control-file.patch || true
rm -v debian/patches/0027-Include-Debian-Makefile.languages.inc.patch || true
quilt push -av
fi
# Hotfix in generate "config.sh" file (bad Makefile code)
touch config.sh
chmod +x config.sh
# Hotfix in languages build (to ignore prebuild files error; bad Makefile code)
sed -i '\|eval| s|[$][(]MAKE[)]|$(MAKE) -i|' Makefile
# Hotfix in package (to ignore prebuild directories error; bad Makefile code)
sed -i -e '\|mkdirpath| s|[$][(]MAKE[)]|$(MAKE) -i|' \
-e 's|[$][(]MAKE[)][ ]EXEEXT[=][$][$]EXEEXT[ ]install|$(MAKE) -i EXEEXT=$$EXEEXT install|' \
Makefile
}
build() {
# Configure source code to built this package
export CC=cc EXEEXT=
pushd $pkgname-$pkgver
cp -va local.h.linux local.h
sed -i -e 's|bison[ ][-]y|yacc|' \
-e "s|/usr/local|/usr|" \
-e 's|/lib|/lib/ispell|' local.h
popd
make -C $pkgname-$pkgver all
}
package() {
make DESTDIR=$pkgdir -C $pkgname-$pkgver install
install -Dm644 license.txt -t $pkgdir/usr/share/licenses/$pkgname
# correct package-structure
mv $pkgdir/usr/man $pkgdir/usr/share
}

35
ispell/license.txt Normal file
View File

@@ -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.