android-sdk-cmake-3.6
maintainer yurikoles
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a CMake binary from Google's official Android repository, which is the project's legitimate source; despite the static analyzer flag for a non-whitelisted host, this is a standard and trusted origin for the software, and the download is verified via a checksum.
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 package downloads a CMake binary from Google's official Android repository, which is the project's legitimate source; despite the static analyzer flag for a non-whitelisted host, this is a standard and trusted origin for the software, and the download is verified via a checksum.
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:16
source=("https://dl-ssl.google.com/android/repository/cmake-${pkgver}-linux-x86_64.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
2
# Contributor: Chih-Hsuan Yen <yan12125@gmail.com>
3
4
pkgname=android-sdk-cmake-3.6
5
_major=3
6
_minor=6
7
_micro=4111459
8
pkgver=$_major.$_minor.$_micro
9
pkgrel=1
10
pkgdesc='CMake from Google Android SDK'
11
arch=('x86_64')
12
url="https://developer.android.com/studio/index.html"
13
license=('custom:android-sdk-license')
14
depends=('bash')
15
makedepends=('libxml2') # xmllint
16
source=("https://dl-ssl.google.com/android/repository/cmake-${pkgver}-linux-x86_64.zip"
17
package.xml.in)
18
install=android-sdk-cmake.install
19
# sha1sum is from https://dl.google.com/android/repository/repository2-1.xml
20
sha1sums=('71c539b9c33f0943e9ad6251fea0b161c0b70782'
21
'5ca8c4e61ee3a3294865afbd5d16e83662871e06')
22
options=('!strip')
23
conflicts=('android-sdk-cmake<=3.6.4111459')
24
25
build() {
26
cd "$srcdir"
27
sed "s#%MAJOR%#$_major#g;s#%MINOR%#$_minor#g;s#%MICRO%#$_micro#g" package.xml.in > package.xml
28
}
29
30
package() {
31
install -Ddm755 "$pkgdir"/opt/android-sdk/cmake/$pkgver
32
cp -dr --no-preserve=ownership "$srcdir"/{bin,share,doc,android.toolchain.cmake,source.properties} \
33
"$pkgdir"/opt/android-sdk/cmake/$pkgver
34
# This is required for sdkmanager to recognize this package
35
install -Dm644 "$srcdir"/package.xml "$pkgdir"/opt/android-sdk/cmake/$pkgver/package.xml
36
37
install -Ddm755 "$pkgdir"/usr/share/licenses/$pkgname
38
xmllint --xpath '//*[local-name()="repository"]/license/text()' "$srcdir"/package.xml \
39
> "$pkgdir"/usr/share/licenses/$pkgname/android-sdk-license
40
}
41
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 |