Date: Monday, August 22, 2022 @ 19:03:17 Author: andyrtr Revision: 454421
upgpkg: hunspell 1.7.1-1: upstream update 1.7.1 Modified: hunspell/trunk/PKGBUILD ----------+ PKGBUILD | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-22 19:01:43 UTC (rev 454420) +++ PKGBUILD 2022-08-22 19:03:17 UTC (rev 454421) @@ -2,35 +2,23 @@ # Contributor: Hussam Al-Tayeb <ht990...@gmail.com> pkgname=hunspell -pkgver=1.7.0 -pkgrel=4 +pkgver=1.7.1 +pkgrel=1 pkgdesc="Spell checker and morphological analyzer library and program" arch=('x86_64') -url="https://hunspell.github.io/" +url="https://github.com/hunspell/mythes" license=('GPL' 'LGPL' 'MPL') depends=('gcc-libs' 'readline') optdepends=('perl: for ispellaff2myspell') -source=($pkgname-$pkgver.tar.gz::https://github.com/hunspell/hunspell/archive/v${pkgver}.tar.gz - hunspell_buildfix.diff::https://github.com/hunspell/hunspell/commit/2f9e34d13312dbf705f7e1316ca364be13640e6c.patch - hunspell_buildfix2.diff::https://patch-diff.githubusercontent.com/raw/hunspell/hunspell/pull/762.patch) -sha256sums=('bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a' - 'SKIP' - 'SKIP') +source=(https://github.com/hunspell/hunspell/releases/download/v${pkgver}/hunspell-${pkgver}.tar.gz) +sha256sums=('b2d9c5369c2cc7f321cb5983fda2dbf007dce3d9e17519746840a6f0c4bf7444') -prepare() { - cd hunspell-$pkgver - - # build fix - patch -Np1 -i ../hunspell_buildfix.diff - patch -Np1 -i ../hunspell_buildfix2.diff - - autoreconf -vfi -} - build() { cd hunspell-$pkgver - ./configure --prefix=/usr --disable-static \ - --with-ui --with-readline # --with-experimental breaks build in this release + ./configure --prefix=/usr \ + --disable-static \ + --with-ui \ + --with-readline sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make }