cgranges
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 ships no library target; the static library is built here from the
3
# single translation unit. Headers are namespaced to avoid clashing with the
4
# khash.h and cgranges.h copies shipped by other packages.
5
6
pkgname=cgranges
7
pkgver=0.1.1
8
pkgrel=1
9
pkgdesc="Fast interval overlap queries on genomic intervals"
10
arch=('x86_64')
11
url="https://github.com/lh3/cgranges"
12
license=('MIT')
13
depends=('glibc')
14
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
15
sha256sums=('9445ec0cab97e736981db440cb306069d6fe33f638fbd142c106a0408ba10d6c')
16
17
build() {
18
cd "$srcdir/$pkgname-$pkgver"
19
"${CC:-cc}" $CFLAGS $CPPFLAGS -c cgranges.c -o cgranges.o
20
ar rcs libcgranges.a cgranges.o
21
}
22
23
package() {
24
cd "$srcdir/$pkgname-$pkgver"
25
install -Dm644 cgranges.h "$pkgdir/usr/include/$pkgname/cgranges.h"
26
install -Dm644 khash.h "$pkgdir/usr/include/$pkgname/khash.h"
27
install -Dm644 libcgranges.a "$pkgdir/usr/lib/libcgranges.a"
28
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
29
}
30
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 16:09:18 | Low | 1 |