* update rapidfuzz-cpp to 3.2.0-1
This commit is contained in:
parent
bd065a2195
commit
cbf26e6567
15
rapidfuzz-cpp/.SRCINFO
Normal file
15
rapidfuzz-cpp/.SRCINFO
Normal file
@ -0,0 +1,15 @@
|
||||
pkgbase = rapidfuzz-cpp
|
||||
pkgdesc = Rapid fuzzy string matching in C++ using the Levenshtein Distance
|
||||
pkgver = 3.2.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/rapidfuzz/rapidfuzz-cpp
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = catch2
|
||||
depends = cmake
|
||||
source = rapidfuzz-cpp::git+https://github.com/rapidfuzz/rapidfuzz-cpp#tag=v3.2.0
|
||||
sha512sums = 6a2a0892134db27b821480e4493a221e5d9370bc1f81efdd3a5a614a890fed12502c0a57e6c498f3b99e1e15a1e7320f5f8a7996b422cb7ab3443a157c742d34
|
||||
b2sums = 4335e4f70a15895f123ff3d7de9505e247e33bb44441ae2b5561106c83205b5cf2e4925b82443ee1f61bef9a469c2477d4db85b896129c08d44c9379ba9e0ec2
|
||||
|
||||
pkgname = rapidfuzz-cpp
|
4
rapidfuzz-cpp/.nvchecker.toml
Normal file
4
rapidfuzz-cpp/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[rapidfuzz-cpp]
|
||||
source = "git"
|
||||
git = "https://github.com/rapidfuzz/rapidfuzz-cpp"
|
||||
prefix = "v"
|
@ -3,21 +3,22 @@
|
||||
# Contributor: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
||||
|
||||
pkgname=rapidfuzz-cpp
|
||||
pkgver=3.0.2
|
||||
pkgrel=1.1
|
||||
pkgver=3.2.0
|
||||
pkgrel=1
|
||||
pkgdesc='Rapid fuzzy string matching in C++ using the Levenshtein Distance'
|
||||
arch=(any)
|
||||
url='https://github.com/maxbachmann/rapidfuzz-cpp'
|
||||
url='https://github.com/rapidfuzz/rapidfuzz-cpp'
|
||||
license=('MIT')
|
||||
depends=('cmake')
|
||||
makedepends=('catch2')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||
b2sums=('49743ab1634649bf5a2b33d91dce1877b0c3135345d9c187eb2d633a1bb804701697d8245a74cfde2a76564abeb3fc8228dce121dcc1a05f74630400d06bb659')
|
||||
makedepends=('git' 'catch2')
|
||||
source=("$pkgname::git+$url#tag=v$pkgver")
|
||||
sha512sums=('6a2a0892134db27b821480e4493a221e5d9370bc1f81efdd3a5a614a890fed12502c0a57e6c498f3b99e1e15a1e7320f5f8a7996b422cb7ab3443a157c742d34')
|
||||
b2sums=('4335e4f70a15895f123ff3d7de9505e247e33bb44441ae2b5561106c83205b5cf2e4925b82443ee1f61bef9a469c2477d4db85b896129c08d44c9379ba9e0ec2')
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
-B build \
|
||||
-S "$pkgname-$pkgver" \
|
||||
-S "$pkgname" \
|
||||
-D RAPIDFUZZ_BUILD_TESTING=ON \
|
||||
-D RAPIDFUZZ_ENABLE_LINTERS=ON \
|
||||
-D CMAKE_BUILD_TYPE=None \
|
||||
@ -35,5 +36,5 @@ package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
# license
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgname-$pkgver/LICENSE"
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgname/LICENSE"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user