Date: Friday, October 21, 2022 @ 15:04:24
  Author: felixonmars
Revision: 458540

archrelease: copy trunk to staging-x86_64

Added:
  nuspell/repos/staging-x86_64/
  nuspell/repos/staging-x86_64/PKGBUILD
    (from rev 458539, nuspell/trunk/PKGBUILD)

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

Copied: nuspell/repos/staging-x86_64/PKGBUILD (from rev 458539, 
nuspell/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2022-10-21 15:04:24 UTC (rev 458540)
@@ -0,0 +1,42 @@
+# Maintainer: AndyRTR <[email protected]>
+# Conributor: Mélanie Chauvel (ariasuni) <perso at hack-libre dot org>
+
+pkgname=nuspell
+pkgver=5.1.2
+pkgrel=2
+pkgdesc='Fast and safe spellchecking C++ library'
+arch=('x86_64')
+url='https://nuspell.github.io/'
+license=('LGPL3')
+depends=('icu')
+makedepends=('cmake' 'pandoc')
+checkdepends=('catch2')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/nuspell/nuspell/archive/v${pkgver}.tar.gz";)
+sha512sums=('138212ae5340836f0bc85d9d5327dc43ffdb1481ca72678b4619938b86c4c8e7c156eec1446f459636460a9015cd476031ad53d0979325e637ed97c19e2f87c8')
+
+# 1st rebuild enchant
+# 2nd rebuild epiphany against nuspell/enchant that checkdepens on both
+
+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
+}

Reply via email to