extra/nuspell to 4.2.0-1

This commit is contained in:
Kevin Mihelich 2020-12-13 18:52:19 +00:00
parent 1215fa06c2
commit 69d79e6b5e

View file

@ -5,19 +5,27 @@
# - remove makedepend on pandoc
pkgname=nuspell
pkgver=4.1.0
pkgrel=2
pkgver=4.2.0
pkgrel=1
pkgdesc='Fast and safe spellchecking C++ library'
arch=('x86_64')
url='https://nuspell.github.io/'
license=('LGPL3')
depends=('boost-libs' 'icu')
makedepends=('cmake' 'boost' 'catch2')
source=("https://github.com/nuspell/nuspell/archive/v${pkgver}.tar.gz")
sha512sums=('d0c01dd73fefd8b9c800e6419fe916e55a53b8b19f5848d3766cdcb50383fdcd9e9bb49362b5cea4d9d2d7fda21aed055f28cb47b006e2049b2a904355f7f9ed')
depends=('icu')
#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')
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
}
build() {