🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445
pkgname: aspell
pkgver: '0.60.8.2'
pkgrel: '1'
pkgdesc: 'An interactive spell checking program and the Aspell libraries.'
url: 'http://aspell.net'
arch: x86_64
license:
- 'LGPL2.1'
depends: []
makedepends:
- perl
source:
- 'https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
make DESTDIR=${PKGDIR} install
install -v -m 755 scripts/ispell ${PKGDIR}/usr/bin/
install -v -m 755 scripts/spell ${PKGDIR}/usr/bin/
rm -f ${PKGDIR}/usr/lib/lib{a,p}spell.la
rm -f ${PKGDIR}/usr/lib/aspell-0.60/{context,email,nroff,sgml,tex,texinfo}-filter.la
install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
package: |
true
update: |
local url ext
url="http://ftp.gnu.org/gnu/${pkgname}/"
ext=".tar.gz"
lynx -read_timeout=20 -dump -listonly -nonumbers \
$url|grep ${pkgname}-[0-9]|grep [0-9]$ext$| \
sed "s@$url${pkgname}-@@"|sed "s@$ext@@"| \
sort|tail -1