[arch-commits] Commit in (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Aug 3 10:34:50 UTC 2022


    Date: Wednesday, August 3, 2022 @ 10:34:49
  Author: arojas
Revision: 1259993

New python-levenshtein dependency

Added:
  rapidfuzz-cpp/
  rapidfuzz-cpp/trunk/
  rapidfuzz-cpp/trunk/PKGBUILD

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

Added: rapidfuzz-cpp/trunk/PKGBUILD
===================================================================
--- rapidfuzz-cpp/trunk/PKGBUILD	                        (rev 0)
+++ rapidfuzz-cpp/trunk/PKGBUILD	2022-08-03 10:34:49 UTC (rev 1259993)
@@ -0,0 +1,25 @@
+# Maintainer:
+# Contributor: Pekka Ristola <pekkarr [at] protonmail [dot] com>
+
+pkgname=rapidfuzz-cpp
+pkgver=1.1.1
+pkgrel=2
+pkgdesc='Rapid fuzzy string matching in C++ using the Levenshtein Distance'
+arch=(any)
+url='https://github.com/maxbachmann/rapidfuzz-cpp'
+license=(MIT)
+makedepends=(cmake)
+source=(https://github.com/maxbachmann/rapidfuzz-cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('0d46f6a2e64bd68589537353eea62e84e90af3307f213a4578448d026b96c6c3')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+      -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list