[arch-commits] Commit in rapidfuzz-cpp (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Aug 3 10:35:02 UTC 2022


    Date: Wednesday, August 3, 2022 @ 10:35:01
  Author: arojas
Revision: 1259994

archrelease: copy trunk to community-any

Added:
  rapidfuzz-cpp/repos/
  rapidfuzz-cpp/repos/community-any/
  rapidfuzz-cpp/repos/community-any/PKGBUILD
    (from rev 1259993, rapidfuzz-cpp/trunk/PKGBUILD)

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

Copied: rapidfuzz-cpp/repos/community-any/PKGBUILD (from rev 1259993, rapidfuzz-cpp/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2022-08-03 10:35:01 UTC (rev 1259994)
@@ -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