From 468efd460fd7b36f21cb2c293e770b3ae32bdc7c Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 14 Apr 2018 18:24:25 +0000 Subject: aspell: update 0.60.5.1-5 --- abs/core/aspell/PKGBUILD | 13 +++++++------ abs/core/aspell/__changelog | 1 + abs/core/aspell/aspell.install | 24 ------------------------ 3 files changed, 8 insertions(+), 30 deletions(-) create mode 100644 abs/core/aspell/__changelog delete mode 100644 abs/core/aspell/aspell.install diff --git a/abs/core/aspell/PKGBUILD b/abs/core/aspell/PKGBUILD index 50c9264..2cdaf6d 100644 --- a/abs/core/aspell/PKGBUILD +++ b/abs/core/aspell/PKGBUILD @@ -8,20 +8,21 @@ pkgname=aspell pkgver=0.60.6.1 _pkgmajorver=0.60 -pkgrel=2 +pkgrel=5 pkgdesc="A spell checker designed to eventually replace Ispell" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://aspell.net/" license=('LGPL') depends=('gcc-libs' 'ncurses') optdepends=('perl: to import old dictionaries') -install=aspell.install -source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('e66a9c9af6a60dc46134fdacf6ce97d7') -sha1sums=('ff1190db8de279f950c242c6f4c5d5cdc2cbdc49') +source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz + gcc7fixes.patch) +sha1sums=('ff1190db8de279f950c242c6f4c5d5cdc2cbdc49' + 'df5364a8472154452f4e1fe9db0891df457949e0') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < $srcdir/gcc7fixes.patch ./configure --prefix=/usr --sysconfdir=/etc make } diff --git a/abs/core/aspell/__changelog b/abs/core/aspell/__changelog new file mode 100644 index 0000000..beb9215 --- /dev/null +++ b/abs/core/aspell/__changelog @@ -0,0 +1 @@ +add gcc7fixes.patch diff --git a/abs/core/aspell/aspell.install b/abs/core/aspell/aspell.install deleted file mode 100644 index 4bb848e..0000000 --- a/abs/core/aspell/aspell.install +++ /dev/null @@ -1,24 +0,0 @@ -infodir=usr/share/info -filelist=(aspell.info aspell-dev.info) - -post_install() { - echo "==> aspell comes with no default dictionary" - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} -- cgit v0.12