miniwfa

LOW
maintainer imjiaoyuan 0 votes scanned 2026-10-08 16:09:18.783063
View on AUR
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
8pkgname=miniwfa
9_tag=66770a3c452d253ce3b6e400acc779b34af8b678
10pkgver=20240522
11pkgrel=1
12pkgdesc="WaveFront Alignment algorithm with dual gap penalty for long diverged sequences"
13arch=('x86_64')
14url="https://github.com/lh3/miniwfa"
15license=('MIT')
16depends=('glibc')
17source=("$pkgname-$pkgver.tar.gz::${url}/archive/${_tag}.tar.gz")
18sha256sums=('520ca6d96541991364f3dacd5e9331429a295c493ec9cc5e2371477e79543a81')
19
20build() {
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
26package() {
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)SeverityRules
2026-10-08 16:09:18 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion