mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added extra/nuspell
This commit is contained in:
parent
f8fed5cee9
commit
612de30a72
1 changed files with 41 additions and 0 deletions
41
extra/nuspell/PKGBUILD
Normal file
41
extra/nuspell/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: AndyRTR <andyrtr@archlinux.org>
|
||||
# Conributor: Mélanie Chauvel (ariasuni) <perso at hack-libre dot org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - remove makedepend on pandoc
|
||||
|
||||
pkgname=nuspell
|
||||
pkgver=4.0.1
|
||||
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=('122616fd24c2de35000ba12d680d3617e7fe97881d33febbcb106ce70d3bac356a00d90680a1bc8ee631ed532ace0f4b4f9fce4760a25b0f7fc1d60553e74528')
|
||||
|
||||
prepare() {
|
||||
mkdir build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgbase}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in a new issue