ksw2
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 Makefile defaults to -march=native, hence sse2=1; the
4
# library is not built by any upstream target, so it is assembled here.
5
6
pkgname=ksw2
7
_tag=289609bd9e5381a13b16239d0a7703f1ff03f9ca
8
pkgver=20230627
9
pkgrel=1
10
pkgdesc="Alignment library for DNA/RNA sequences under affine gap cost"
11
arch=('x86_64')
12
url="https://github.com/lh3/ksw2"
13
license=('MIT')
14
depends=('glibc')
15
source=("$pkgname-$pkgver.tar.gz::${url}/archive/${_tag}.tar.gz")
16
sha256sums=('b7bb4bdd246ac13ef4c94d3d8236b9805056dcaf4ddcbe34db85ab24eacf9ad2')
17
18
build() {
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
26
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-08 16:09:18 | Low | 1 |