* update nuspell to 5.1.6-1

This commit is contained in:
Alexander Baldeck 2024-07-22 22:06:09 +02:00
parent 12a905a202
commit 6ed9fd38ae

View File

@ -1,19 +1,18 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Conributor: Mélanie Chauvel (ariasuni) <perso at hack-libre dot org>
pkgname=nuspell
pkgver=5.1.4
pkgrel=3
pkgver=5.1.6
pkgrel=1
pkgdesc='Fast and safe spellchecking C++ library'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://nuspell.github.io/'
license=('LGPL3')
license=('LGPL-3.0-or-later')
depends=('icu' 'glibc' 'gcc-libs')
makedepends=('cmake' 'catch2')
checkdepends=('expat')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/nuspell/nuspell/archive/v${pkgver}.tar.gz")
sha512sums=('f4119b3fe5944be8f5bc35ccff8d7a93b0f4fa9f129bc97a7b96879a11b5b35bd714b41dd209267417e94c5fed45fd3a74b349f94424f4b90bde07d9694d1d7d')
sha512sums=('ab6d9394a55d9a2a347ccae47aeef6a96af70f421ad6ea8f7ac7fde2052790f37fb1c7ec3112daac7600d193430a560cb1915ab6557c9353717f65cb32f13ab8')
# 1st rebuild enchant
# 2nd rebuild epiphany against nuspell/enchant that checkdepens on both
@ -23,7 +22,8 @@ build() {
-S ${pkgbase}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=ON
-DBUILD_SHARED_LIBS=ON \
-DBUILD_DOCS=OFF
cmake --build "${pkgname}-${pkgver}"/build
}