miniwfa
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 usable (`wf-reduce` is not a version), so pkgver is the
3
# pinned commit's date and _tag carries the commit itself. The only binary
4
# upstream builds is a demo (`test-mwf`), so this packages the library: the
5
# README's own recipe is to copy miniwfa.{c,h} and kalloc.{c,h} into your source.
6
# The Makefile's -march=native is dropped by overriding CFLAGS.
7
8
pkgname=miniwfa
9
_tag=66770a3c452d253ce3b6e400acc779b34af8b678
10
pkgver=20240522
11
pkgrel=1
12
pkgdesc="WaveFront Alignment algorithm with dual gap penalty for long diverged sequences"
13
arch=('x86_64')
14
url="https://github.com/lh3/miniwfa"
15
license=('MIT')
16
depends=('glibc')
17
source=("$pkgname-$pkgver.tar.gz::${url}/archive/${_tag}.tar.gz")
18
sha256sums=('520ca6d96541991364f3dacd5e9331429a295c493ec9cc5e2371477e79543a81')
19
20
build() {
21
cd "$srcdir/$pkgname-$_tag"
22
make CFLAGS="$CFLAGS -O3" test-mwf
23
ar rcs libminiwfa.a miniwfa.o kalloc.o mwf-dbg.o
24
}
25
26
package() {
27
cd "$srcdir/$pkgname-$_tag"
28
install -Dm644 miniwfa.h "$pkgdir/usr/include/$pkgname/miniwfa.h"
29
install -Dm644 kalloc.h "$pkgdir/usr/include/$pkgname/kalloc.h"
30
install -Dm644 libminiwfa.a "$pkgdir/usr/lib/libminiwfa.a"
31
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
32
}
33
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 16:09:18 | Low | 1 |