cgranges

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 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
6pkgname=cgranges
7pkgver=0.1.1
8pkgrel=1
9pkgdesc="Fast interval overlap queries on genomic intervals"
10arch=('x86_64')
11url="https://github.com/lh3/cgranges"
12license=('MIT')
13depends=('glibc')
14source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
15sha256sums=('9445ec0cab97e736981db440cb306069d6fe33f638fbd142c106a0408ba10d6c')
16
17build() {
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
23package() {
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)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