[arch-commits] Commit in nuspell/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sun May 24 12:22:50 UTC 2020


    Date: Sunday, May 24, 2020 @ 12:22:49
  Author: andyrtr
Revision: 387487

archrelease: copy trunk to extra-x86_64

Added:
  nuspell/repos/extra-x86_64/
  nuspell/repos/extra-x86_64/PKGBUILD
    (from rev 387486, nuspell/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: nuspell/repos/extra-x86_64/PKGBUILD (from rev 387486, nuspell/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-05-24 12:22:49 UTC (rev 387487)
@@ -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