ccalc-git

LOW
maintainer ilovemikael 0 votes scanned 2026-10-25 19:43:04.801001
View on AUR
Why flagged

The package builds from the project's own Git repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's own Git repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# PKGBUILD forked from https://gitea.artixlinux.org/packages/calc by:
2# Maintainer: Andrew Crerar <crerar@archlinux.org>
3# Contributor: Kyle Keen <keenerd@gmail.com>
4# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5
6# Maintainer: ilovemikael <itsmeguys2247 at gmail dot com>
7_pkgname=calc
8pkgname=ccalc-git
9pkgver=2.17.0.2.r9.gc8edd3e
10pkgrel=1
11pkgdesc="Arbitrary precision console calculator"
12arch=(x86_64)
13url="https://github.com/lcn2/calc"
14license=(LGPL-2.1-only)
15depends=(readline)
16makedepends=(mandoc)
17source=(git+$url)
18b2sums=('SKIP')
19
20pkgver() {
21 git -C $_pkgname describe --long --tags | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
22}
23
24prepare() {
25 cd "${_pkgname}"
26
27 sed -i 's/${CC} ${LIBCALC_SHLIB}/${CC} ${LDFLAGS} ${LIBCALC_SHLIB}/' Makefile
28 sed -i 's/${CC} ${LIBCUSTCALC_SHLIB}/${CC} ${LDFLAGS} ${LIBCUSTCALC_SHLIB}/' custom/Makefile
29}
30
31build() {
32 cd "${_pkgname}"
33
34 make \
35 USE_READLINE="-DUSE_READLINE" \
36 READLINE_LIB="-lreadline" \
37 READLINE_EXTRAS="-lhistory -lncurses" \
38 EXTRA_CFLAGS="${CPPFLAGS} ${CFLAGS} -Wno-error=format-security" \
39 EXTRA_LDFLAGS="${LDFLAGS}" \
40 ARCH_CFLAGS="" \
41 LD_SHARE="" \
42 DEBUG=""
43}
44
45check() {
46 cd "${_pkgname}"
47
48 make chk
49}
50
51package() {
52 cd "${_pkgname}"
53
54 make T="${pkgdir}" install
55 mv "${pkgdir}/usr/bin/cscript" "${pkgdir}/usr/share/calc/"
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-10-25 19:43:04 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion