extra/nuspell to 5.0.0-1

This commit is contained in:
Kevin Mihelich 2021-06-14 17:49:44 +00:00
parent a0f23f4db2
commit 0eb4305d60

View file

@ -5,27 +5,29 @@
# - remove makedepend on pandoc
pkgname=nuspell
pkgver=4.2.0
pkgrel=3
pkgver=5.0.0
pkgrel=1
pkgdesc='Fast and safe spellchecking C++ library'
arch=('x86_64')
url='https://nuspell.github.io/'
license=('LGPL3')
depends=('icu')
#makedepends=('cmake')
makedepends=('cmake' 'ruby-ronn')
makedepends=('cmake')
#makedepends=('cmake' 'ruby-ronn')
checkdepends=('catch2')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/nuspell/nuspell/archive/v${pkgver}.tar.gz"
${pkgname}-pandoc.patch::https://github.com/nuspell/nuspell/commit/5d4f685011b2.patch)
sha512sums=('ae9157e9753868c002ed69a765fb705d29d993f3940e11efbc2699778a8b1abee2eb7daa0ff51187b899d6935a215a24662e5b52ec1ef5c644e90a0245f7583d'
'SKIP')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/nuspell/nuspell/archive/v${pkgver}.tar.gz")
# ${pkgname}-pandoc.patch::https://github.com/nuspell/nuspell/commit/5d4f685011b2.patch)
sha512sums=('92605c5f0d413b86711fea3b993d656552d5e72440303d3e71907a503d060ead032dfeb0dd8dbb790f35599b8cca8854bdd8650f0560793d9c62a11aebccc2e5')
# 'SKIP')
# 1st rebuild enchant
# 2nd rebuild epiphany against nuspell/enchant that checkdepens on both
prepare() {
mkdir build
# temporarily use ronn - pandoc is unusable due to a separate haskell rebuild
patch -Rp1 -f -d ${pkgname}-${pkgver} <${pkgname}-pandoc.patch || /bin/true
# patch -Rp1 -f -d ${pkgname}-${pkgver} <${pkgname}-pandoc.patch || /bin/true
}
build() {