wezterm-fredrir-git
maintainer fredrir
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged
The package builds from source using git repositories, including a fork and vendored dependencies, with SKIP'd checksums; while the lack of verifiable integrity checks is suboptimal, all sources are from legitimate project repositories and the build process is transparent, posing no active threat.
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 source using git repositories, including a fork and vendored dependencies, with SKIP'd checksums; while the lack of verifiable integrity checks is suboptimal, all sources are from legitimate project repositories and the build process is transparent, posing no active threat.
PKGBUILD
1
# Maintainer: fredrir <fhansteen at gmail dot com>
2
3
: "${CARGO_HOME:=$SRCDEST/cargo-home}"
4
: "${CARGO_TARGET_DIR:=target}"
5
: "${RUSTUP_TOOLCHAIN:=stable}"
6
export CARGO_HOME CARGO_TARGET_DIR RUSTUP_TOOLCHAIN
7
export LIBSSH2_SYS_USE_PKG_CONFIG=1
8
export ZSTD_SYS_USE_PKG_CONFIG=1
9
10
_pkgname=wezterm
11
pkgname=wezterm-fredrir-git
12
pkgver=20260816.143635.72f3fd75
13
pkgrel=1
14
pkgdesc="A GPU-accelerated cross-platform terminal emulator and multiplexer (fredrir fork)"
15
arch=('x86_64')
16
url="https://github.com/fredrir/wezterm"
17
license=('MIT')
18
depends=(
19
'bash'
20
'fontconfig'
21
'glib2'
22
'glibc'
23
'hicolor-icon-theme'
24
'libgcc'
25
'libgit2'
26
'libssh2'
27
'libstdc++'
28
'libx11'
29
'libxcb'
30
'libxkbcommon'
31
'libxkbcommon-x11'
32
'openssl'
33
'ttf-jetbrains-mono'
34
'ttf-roboto'
35
'wayland'
36
'xcb-util'
37
'xcb-util-image'
38
'zlib'
39
'zstd'
40
)
41
makedepends=(
42
'cargo'
43
'cmake'
44
'git'
45
'pkgconf'
46
'python'
47
)
48
optdepends=(
49
'ncurses: for the WezTerm terminfo database'
50
'noto-fonts-emoji: for default fonts'
51
'nautilus-python: for the WezTerm context menu in Nautilus'
52
'ttf-nerd-fonts-symbols-mono: for default fonts'
53
)
54
provides=("wezterm=$pkgver")
55
conflicts=('wezterm' 'wezterm-shell-integration')
56
options=('!lto')
57
source=(
58
"$_pkgname::git+$url.git#branch=fredrir"
59
"$_pkgname-freetype2::git+https://github.com/freetype/freetype2.git"
60
"$_pkgname-harfbuzz::git+https://github.com/harfbuzz/harfbuzz.git"
61
"$_pkgname-libpng::git+https://github.com/glennrp/libpng.git"
62
"$_pkgname-zlib::git+https://github.com/madler/zlib.git"
63
)
64
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
65
66
pkgver() {
67
cd "$_pkgname"
68
git -c core.abbrev=8 show -s \
69
--format='%cd.%h' \
70
--date=format:%Y%m%d.%H%M%S
71
}
72
73
prepare() {
74
cd "$_pkgname"
75
git submodule init
76
git config submodule."harfbuzz/harfbuzz".url "$srcdir/$_pkgname-harfbuzz"
77
git config submodule."freetype/libpng".url "$srcdir/$_pkgname-libpng"
78
git config submodule."deps/freetype/zlib".url "$srcdir/$_pkgname-zlib"
79
git config submodule."freetype2".url "$srcdir/$_pkgname-freetype2"
80
git -c protocol.file.allow=always submodule update --init --recursive
81
82
sed -i 's/"vendored-fonts", //' wezterm-gui/Cargo.toml
83
cargo fetch --locked --target "$(rustc --print host-tuple)"
84
}
85
86
build() {
87
cd "$_pkgname"
88
cargo build --frozen --release --features distro-defaults
89
}
90
91
check() {
92
cd "$_pkgname"
93
cargo test --frozen --release -- --skip 'e2e::'
94
}
95
96
package() {
97
cd "$_pkgname"
98
99
install -Dm755 "$CARGO_TARGET_DIR/release/$_pkgname" -t "$pkgdir/usr/bin/"
100
install -Dm755 "$CARGO_TARGET_DIR/release/$_pkgname-gui" -t "$pkgdir/usr/bin/"
101
install -Dm755 "$CARGO_TARGET_DIR/release/$_pkgname-mux-server" -t "$pkgdir/usr/bin/"
102
install -Dm755 "$CARGO_TARGET_DIR/release/strip-ansi-escapes" -t "$pkgdir/usr/bin/"
103
104
install -Dm644 assets/icon/terminal.png \
105
"$pkgdir/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.$_pkgname.png"
106
install -Dm644 "assets/$_pkgname.desktop" \
107
"$pkgdir/usr/share/applications/org.wezfurlong.$_pkgname.desktop"
108
install -Dm644 "assets/$_pkgname.appdata.xml" \
109
"$pkgdir/usr/share/metainfo/org.wezfurlong.$_pkgname.appdata.xml"
110
install -Dm644 "assets/$_pkgname-nautilus.py" \
111
"$pkgdir/usr/share/nautilus-python/extensions/$_pkgname-nautilus.py"
112
113
install -Dm755 "assets/open-$_pkgname-here" -t "$pkgdir/usr/bin/"
114
install -Dm644 assets/shell-completion/bash \
115
"$pkgdir/usr/share/bash-completion/completions/$_pkgname"
116
install -Dm644 assets/shell-completion/fish \
117
"$pkgdir/usr/share/fish/vendor_completions.d/$_pkgname.fish"
118
install -Dm644 assets/shell-completion/zsh \
119
"$pkgdir/usr/share/zsh/site-functions/_$_pkgname"
120
install -Dm644 "assets/shell-integration/$_pkgname.sh" -t "$pkgdir/etc/profile.d/"
121
122
install -Dm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname/"
123
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
124
}
125
126
# vim: ts=2 sw=2 et:
127
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 2 |
| 2026-08-17 00:18:29 | LOW | 2 |
| 2026-08-16 17:33:23 | LOW | 2 |