editdist-u85
LOW
maintainer imjiaoyuan
0 votes
scanned 2026-10-08 16:09:18.783063
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: imjiaoyuan <imjiaoyuan@gmail.com>
2
# Upstream tags nothing, so pkgver is the pinned commit's date and _tag carries
3
# the commit itself. The only program upstream builds is the benchmark driver
4
# `test-u85`; the Makefile's -march=native is dropped by overriding CFLAGS.
5
6
pkgname=editdist-u85
7
_tag=520d850697b25562b16e4a9c097f1d5321b51223
8
pkgver=20220421
9
pkgrel=1
10
pkgdesc="Fast implementation of Ukkonen's O(ND) algorithm for computing edit distance"
11
arch=('x86_64')
12
url="https://github.com/lh3/editdist-U85"
13
license=('MIT')
14
depends=('glibc' 'zlib')
15
source=("$pkgname-$pkgver.tar.gz::https://github.com/lh3/editdist-U85/archive/${_tag}.tar.gz")
16
sha256sums=('801d240b9118c586cdbaadac28d2771f74bea1b33cf99cba92953b09ecba534e')
17
18
build() {
19
cd "$srcdir/editdist-U85-$_tag"
20
# main.c uses the uint32_t/uint64_t types without including <stdint.h>
21
make CFLAGS="$CFLAGS -include stdint.h"
22
}
23
24
package() {
25
cd "$srcdir/editdist-U85-$_tag"
26
install -Dm755 test-u85 "$pkgdir/usr/bin/test-u85"
27
# upstream ships no LICENSE file; the grant is the MIT block in kseq.h
28
awk 'NR==1,/^\*\//' kseq.h > LICENSE
29
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
30
}
31
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 16:09:18 | Low | 1 |