bcm-git
LOW
maintainer kekmacska
0 votes
scanned 2026-09-21 17:35:47.897038
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
pkgname=bcm-git
2
pkgver=1.10.r71.31cf281
3
pkgrel=1
4
pkgdesc="BCM is a high-performance BWT-based file compressor that utilizes advanced context modeling techniques to achieve a very high compression ratio."
5
arch=('any')
6
url="https://github.com/geekmaster/bcm"
7
license=('MIT')
8
depends=()
9
makedepends=('git')
10
source=("git+$url.git")
11
md5sums=('SKIP')
12
13
pkgver() {
14
cd "${pkgname%-*}"
15
echo "1.10.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
16
}
17
18
build() {
19
cd "${pkgname%-*}"
20
21
if command -v clang++ >/dev/null 2>&1; then
22
clang++ \
23
-O3 -march=native -mtune=native \
24
-falign-functions=32 -falign-loops=32 \
25
-fno-math-errno -fno-trapping-math \
26
-fno-semantic-interposition \
27
-fomit-frame-pointer -fno-plt \
28
-pipe -flto -Wall -Wno-unused \
29
-fstrict-aliasing -fno-rtti -fno-exceptions \
30
-fmerge-all-constants -ffunction-sections \
31
-fdata-sections -fvisibility=hidden \
32
-fstrict-vtable-pointers \
33
-fno-asynchronous-unwind-tables \
34
src/"${pkgname%-*}".cpp src/divsufsort.c -o "${pkgname%-*}" \
35
-Wl,--icf=safe \
36
-Wl,--gc-sections \
37
-Wl,-O3 \
38
-flto \
39
-fno-plt \
40
-fuse-ld=lld
41
else
42
g++ \
43
-O3 -march=native -mtune=native \
44
-falign-functions=32 -falign-loops=32 \
45
-fno-math-errno -fno-trapping-math \
46
-fno-semantic-interposition \
47
-fomit-frame-pointer -fno-plt \
48
-pipe -flto -Wall -Wno-unused \
49
-fstrict-aliasing -fno-rtti -fno-exceptions \
50
-fmerge-all-constants -ffunction-sections \
51
-fdata-sections -fvisibility=hidden \
52
src/"${pkgname%-*}".cpp src/divsufsort.c -o "${pkgname%-*}" \
53
-Wl,--gc-sections \
54
-Wl,-O3 \
55
-flto \
56
-fno-plt
57
fi
58
}
59
60
package() {
61
cd "${pkgname%-*}"
62
63
# Install binary
64
install -Dm755 "${pkgname%-*}" "$pkgdir/usr/bin/${pkgname%-*}"
65
66
# Install license
67
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE"
68
}
69
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 17:35:47 | Low | 1 |