bcm-git

LOW
maintainer kekmacska 0 votes scanned 2026-09-21 17:35:47.897038
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

1pkgname=bcm-git
2pkgver=1.10.r71.31cf281
3pkgrel=1
4pkgdesc="BCM is a high-performance BWT-based file compressor that utilizes advanced context modeling techniques to achieve a very high compression ratio."
5arch=('any')
6url="https://github.com/geekmaster/bcm"
7license=('MIT')
8depends=()
9makedepends=('git')
10source=("git+$url.git")
11md5sums=('SKIP')
12
13pkgver() {
14 cd "${pkgname%-*}"
15 echo "1.10.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
16}
17
18build() {
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
60package() {
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)SeverityRules
2026-09-21 17:35:47 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