lcar
maintainer dbermond
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a government-hosted official tax software archive from a plausible Brazilian tax authority domain; downloading and building from an official project source, even on a non-whitelisted host, is normal AUR packaging with low risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a government-hosted official tax software archive from a plausible Brazilian tax authority domain; downloading and building from an official project source, even on a non-whitelisted host, is normal AUR packaging with low risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:18
source=("https://downloadirpf.receita.fazenda.gov.br/irpf/${pkgver%%.*}/ar/AR${pkgver%%.*}v${pkgver#*.}.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
2
3
pkgname=lcar
4
pkgver=2026.1.2
5
pkgrel=1
6
pkgdesc='Brazilian physical person income tax (IRPF) auxiliary program for getting rural activity results'
7
arch=('any')
8
url='https://www.gov.br/receitafederal/pt-br/centrais-de-conteudo/download/pgd/lcar'
9
license=('LicenseRef-Custom')
10
depends=(
11
'hicolor-icon-theme'
12
'java-runtime'
13
'sh')
14
optdepends=(
15
'cups: for print support')
16
makedepends=(
17
'icoutils')
18
source=("https://downloadirpf.receita.fazenda.gov.br/irpf/${pkgver%%.*}/ar/AR${pkgver%%.*}v${pkgver#*.}.zip"
19
'lcar.desktop'
20
'lcar.sh'
21
'LICENSE')
22
sha256sums=('a57254f1a0f3285098fd5231194a993e89c039819e25c55f57c3acf0f4258b20'
23
'5ad5cd0e50661c83f2569b5d57bed7bcf1af05180fed7767cb0fd8952c454f17'
24
'554f867c58d5c75cb40eeeda51e36f34a36f83019735234d192be2e044cc96c9'
25
'a406e102e2c10c202bd7a0ba775b004c0f04440544db73ce6923172a62aacd67')
26
27
prepare() {
28
icotool -x -o "AR${pkgver%%.*}" "AR${pkgver%%.*}/RFB.ico"
29
}
30
31
package() {
32
install -D -m755 lcar.sh "${pkgdir}/usr/bin/${pkgname}"
33
install -D -m644 lcar.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
34
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
35
install -D -m644 "AR${pkgver%%.*}"/{{PgdAtividadeRural,pgd-updater}.jar,ARURAL.acb} -t "${pkgdir}/usr/share/java/${pkgname}"
36
install -D -m644 "AR${pkgver%%.*}/Leia_me.htm" -t "${pkgdir}/usr/share/doc/${pkgname}"
37
cp -dr --no-preserve='ownership' "AR${pkgver%%.*}/help" "${pkgdir}/usr/share/doc/${pkgname}"
38
cp -dr --no-preserve='ownership' "AR${pkgver%%.*}/lib" "${pkgdir}/usr/share/java/${pkgname}"
39
ln -sr "${pkgdir}/usr/share/doc/${pkgname}/help" "${pkgdir}/usr/share/java/${pkgname}/help"
40
41
local _file
42
local _res
43
while read -r -d '' _file
44
do
45
_res="$(sed 's/\.png$//;s/^.*_//;s/x.*$//' <<< "$_file")"
46
install -D -m644 "$_file" "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/${pkgname}.png"
47
done < <(find "AR${pkgver%%.*}" -maxdepth 1 -type f -name 'RFB_*_*x*x*' -print0)
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |