[arch-commits] Commit in (nuspell nuspell/repos nuspell/trunk nuspell/trunk/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Sun May 24 12:21:21 UTC 2020
Date: Sunday, May 24, 2020 @ 12:21:20
Author: andyrtr
Revision: 387486
add pkg
Added:
nuspell/
nuspell/repos/
nuspell/trunk/
nuspell/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: nuspell/trunk/PKGBUILD
===================================================================
--- nuspell/trunk/PKGBUILD (rev 0)
+++ nuspell/trunk/PKGBUILD 2020-05-24 12:21:20 UTC (rev 387486)
@@ -0,0 +1,38 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Conributor: Mélanie Chauvel (ariasuni) <perso at hack-libre dot org>
+
+pkgname=nuspell
+pkgver=3.1.1
+pkgrel=1
+pkgdesc='Fast and safe spellchecking C++ library'
+arch=('x86_64')
+url='https://nuspell.github.io/'
+license=('LGPL3')
+depends=('boost' 'icu')
+makedepends=('cmake' 'catch2' 'ruby-ronn')
+source=("https://github.com/nuspell/nuspell/archive/v${pkgver}.tar.gz")
+sha512sums=('239855051d9f49ba16913283090c4214a8f6a6cc290d359ab54014ff76fc297c131b67c6748bd1d4cdcec43c00dccc7f0c1bf8b07e06c9c648bff52ff193e096')
+
+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
+}
More information about the arch-commits
mailing list