skia-git
maintainer AscendLiu
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds Skia from its official source repository using standard AUR practices; the flagged orphaned status change is administrative and does not indicate malicious intent or supply-chain 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 package builds Skia from its official source repository using standard AUR practices; the flagged orphaned status change is administrative and does not indicate malicious intent or supply-chain risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer:
2
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
3
# Contributor: Fredrick R. Brennan <copypaste@kittens.ph>
4
# Contributor: nyorain <nyorain at gmail dot com>
5
6
pkgname=('skia-git')
7
pkgver=r74476.5b56d9a916
8
pkgrel=1
9
pkgdesc="A complete 2D graphic library for drawing Text, Geometries, and Images."
10
arch=('x86_64')
11
url="https://github.com/google/skia"
12
license=('BSD-3-Clause')
13
depends=('zlib' 'libglvnd' 'freetype2' 'expat' 'libpng' 'libjpeg-turbo' 'fontconfig' 'harfbuzz' 'gcc-libs' 'libwebp' 'glibc')
14
makedepends=('git' 'rsync' 'python' 'procps-ng' 'ninja' 'depot-tools-git')
15
provides=(skia)
16
conflicts=(skia)
17
pkgver() {
18
cd "$srcdir/skia"
19
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20
}
21
22
#TODO:
23
# skia-git W: ELF file ('usr/lib/libskia.so') lacks FULL RELRO, check LDFLAGS.
24
# use system gn, if even possible...
25
# try not to use rsync
26
# recheck deps + makedeps
27
28
prepare() {
29
# to make sure depot tools are in path
30
cd "$srcdir"
31
SRC_DIR="$(readlink -f "$srcdir")"
32
rsync -Pa /opt/depot_tools/ "$SRC_DIR/depot_tools/"
33
34
export PATH="$SRC_DIR/depot_tools:$PATH"
35
36
37
# download/sync skia
38
cd "$srcdir"
39
gclient config https://skia.googlesource.com/skia.git < <(yes)
40
gclient sync < <(yes)
41
gclient runhooks < <(yes)
42
43
# generate the ninja build files using gn
44
cd skia
45
tools/git-sync-deps
46
bin/gn gen out/Debug --args='is_official_build=true is_component_build=true'
47
}
48
49
build() {
50
cd skia
51
export PATH="$srcdir/depot_tools:$PATH"
52
ninja -C ./out/Debug
53
}
54
55
package() {
56
cd "$srcdir/skia"
57
58
# License
59
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
60
61
# Library
62
install -D -m644 out/Debug/libskia.so "$pkgdir/usr/lib/libskia.so"
63
64
# Headers
65
find include -type f -and -name "*.h" -exec install -v -D -m644 {} "$pkgdir/usr/include/"{} \; -print
66
find modules -type f -and -name "*.h" -exec install -v -D -m644 {} "$pkgdir/usr/include/"{} \; -print
67
find src -type f -and -name "*.h" -exec install -v -D -m644 {} "$pkgdir/usr/include/"{} \; -print
68
}
69
70
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 |