phycfg
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.
4
5
pkgname=phycfg
6
_tag=3bb305fe660dedc3daf3ec8654622e1d60cc203d
7
pkgver=20260410
8
pkgrel=1
9
pkgdesc="Model rooted phylogenetic trees with stochastic context-free grammar"
10
arch=('x86_64')
11
url="https://github.com/lh3/phycfg"
12
license=('MIT')
13
depends=('glibc' 'zlib')
14
source=("$pkgname-$pkgver.tar.gz::${url}/archive/${_tag}.tar.gz")
15
sha256sums=('d755d3a8393e6f1e1edf1e09a4152596abcc6fa725a8c4172b74d4cca0a87b38')
16
17
build() {
18
cd "$srcdir/$pkgname-$_tag"
19
# upstream's -std=c99 hides strdup() and friends; build as GNU C instead
20
make CFLAGS="$CFLAGS -std=gnu11"
21
}
22
23
package() {
24
cd "$srcdir/$pkgname-$_tag"
25
install -Dm755 phycfg "$pkgdir/usr/bin/phycfg"
26
# upstream ships no LICENSE file; the grant is the MIT block in kseq.h
27
awk 'NR==1,/^\*\//' kseq.h > LICENSE
28
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
29
}
30
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 16:09:18 | Low | 1 |