ksw2

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, so pkgver is the pinned commit's date and _tag carries
3# the commit itself. The Makefile defaults to -march=native, hence sse2=1; the
4# library is not built by any upstream target, so it is assembled here.
5
6pkgname=ksw2
7_tag=289609bd9e5381a13b16239d0a7703f1ff03f9ca
8pkgver=20230627
9pkgrel=1
10pkgdesc="Alignment library for DNA/RNA sequences under affine gap cost"
11arch=('x86_64')
12url="https://github.com/lh3/ksw2"
13license=('MIT')
14depends=('glibc')
15source=("$pkgname-$pkgver.tar.gz::${url}/archive/${_tag}.tar.gz")
16sha256sums=('b7bb4bdd246ac13ef4c94d3d8236b9805056dcaf4ddcbe34db85ab24eacf9ad2')
17
18build() {
19 cd "$srcdir/$pkgname-$_tag"
20 make sse2=1
21 ar rcs libksw2.a ksw2_gg.o ksw2_gg2.o ksw2_gg2_sse.o ksw2_extz.o \
22 ksw2_extz2_sse.o ksw2_extd.o ksw2_extd2_sse.o ksw2_extf2_sse.o \
23 ksw2_exts2_sse.o kalloc.o
24}
25
26package() {
27 cd "$srcdir/$pkgname-$_tag"
28 install -Dm644 ksw2.h "$pkgdir/usr/include/$pkgname/ksw2.h"
29 install -Dm644 kalloc.h "$pkgdir/usr/include/$pkgname/kalloc.h"
30 install -Dm644 libksw2.a "$pkgdir/usr/lib/libksw2.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