zed-bin
MEDIUM
maintainer knight731
0 votes
scanned 2026-08-27 13:32:42.941682
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
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.
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.
PKGBUILD
1
# Maintainer: Burgess Leo <liuxiaopeng731@gmail.com>
2
# Contributor: Zollerboy1 <josef@walterzollerpiano.com> (zed-preview-bin reference)
3
4
pkgname=zed-bin
5
pkgver=1.17.2
6
pkgrel=2
7
pkgdesc='A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter'
8
arch=('x86_64' 'aarch64')
9
url='https://zed.dev'
10
license=('GPL-3.0-or-later' 'AGPL-3.0-or-later' 'Apache-2.0')
11
depends=('alsa-lib'
12
'glib2'
13
'glibc'
14
'gcc-libs'
15
'libx11'
16
'libxcb'
17
'libxkbcommon'
18
'libxkbcommon-x11'
19
'vulkan-driver'
20
'vulkan-icd-loader'
21
'wayland'
22
'zlib')
23
optdepends=('openbsd-netcat: SSH remote development support'
24
'clang: improved C/C++ language support'
25
'cmake: building C/C++ projects'
26
'gopls: improved Go language support'
27
'pyright: improved Python language support'
28
'rust-analyzer: improved Rust language support'
29
'typescript-language-server: improved TypeScript/JavaScript support'
30
'org.freedesktop.secrets: to keep you logged into your Zed account')
31
provides=("${pkgname%-bin}=${pkgver}")
32
conflicts=("${pkgname%-bin}" 'zed-git' 'zed-preview-bin')
33
source_x86_64=("${pkgname}-${pkgver}-x86_64.tar.gz::https://github.com/zed-industries/zed/releases/download/v${pkgver}/zed-linux-x86_64.tar.gz")
34
source_aarch64=("${pkgname}-${pkgver}-aarch64.tar.gz::https://github.com/zed-industries/zed/releases/download/v${pkgver}/zed-linux-aarch64.tar.gz")
35
36
sha256sums_x86_64=('3682dd058a305d2b246a14d64419fcf42e86a06e27755d23b5a28622ed9aef85')
37
sha256sums_aarch64=('4f75332ab8155a5a62b0cdc473473cf8938959cf3cd2b0145e2975969d7e8929')
38
39
package() {
40
cd 'zed.app'
41
42
# Fix desktop file: use absolute paths for Icon and Exec
43
local desktop='share/applications/dev.zed.Zed.desktop'
44
sed -i "s|^Icon=zed$|Icon=/usr/share/icons/zed.png|" "$desktop"
45
sed -i "s|^Exec=zed |Exec=/usr/bin/zed |" "$desktop"
46
sed -i "s|^TryExec=zed$|TryExec=/usr/bin/zed|" "$desktop"
47
48
# Install CLI launcher (real binary; wrapped below so in-app auto-update
49
# is disabled and updates only happen via the package manager, yay -Syu)
50
install -Dm755 'bin/zed' "${pkgdir}/usr/bin/zed.real"
51
52
# Wrapper: the editor reads ZED_UPDATE_EXPLANATION at startup and skips
53
# its own update polling/installs when it is set (see auto_update crate).
54
cat > "${pkgdir}/usr/bin/zed" <<'EOF'
55
#!/bin/sh
56
export ZED_UPDATE_EXPLANATION='Updates are handled by your package manager'
57
exec /usr/bin/zed.real "$@"
58
EOF
59
chmod 755 "${pkgdir}/usr/bin/zed"
60
61
# Install main editor binary (CLI looks for ../lib/zed/zed-editor)
62
install -Dm755 'libexec/zed-editor' "${pkgdir}/usr/lib/zed/zed-editor"
63
64
# Install desktop file
65
install -Dm644 "$desktop" "${pkgdir}/usr/share/applications/dev.zed.Zed.desktop"
66
67
# Install icon
68
install -Dm644 'share/icons/hicolor/512x512/apps/zed.png' \
69
"${pkgdir}/usr/share/icons/zed.png"
70
71
# Install licenses
72
install -Dm644 'licenses.md' \
73
"${pkgdir}/usr/share/licenses/${pkgname%-bin}/licenses.md"
74
}
75
Changes since previous scan
--- PKGBUILD @ 2026-07-30 00:17+++ PKGBUILD @ 2026-08-27 13:32@@ -1,16 +1,14 @@-# Maintainer: Knight <knight@example.com>+# Maintainer: Burgess Leo <liuxiaopeng731@gmail.com> # Contributor: Zollerboy1 <josef@walterzollerpiano.com> (zed-preview-bin reference) pkgname=zed-bin-pkgver=1.12.1-pkgrel=1+pkgver=1.17.2+pkgrel=2 pkgdesc='A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter' arch=('x86_64' 'aarch64') url='https://zed.dev' license=('GPL-3.0-or-later' 'AGPL-3.0-or-later' 'Apache-2.0') depends=('alsa-lib'- 'curl'- 'fontconfig' 'glib2' 'glibc' 'gcc-libs'@@ -18,17 +16,12 @@ 'libxcb' 'libxkbcommon' 'libxkbcommon-x11'- 'nodejs>=18'- 'openbsd-netcat'- 'npm'- 'openssl'- 'sqlite' 'vulkan-driver' 'vulkan-icd-loader' 'wayland'- 'zlib'- 'zstd')-optdepends=('clang: improved C/C++ language support'+ 'zlib')+optdepends=('openbsd-netcat: SSH remote development support'+ 'clang: improved C/C++ language support' 'cmake: building C/C++ projects' 'gopls: improved Go language support' 'pyright: improved Python language support'@@ -39,8 +32,9 @@ conflicts=("${pkgname%-bin}" 'zed-git' 'zed-preview-bin') source_x86_64=("${pkgname}-${pkgver}-x86_64.tar.gz::https://github.com/zed-industries/zed/releases/download/v${pkgver}/zed-linux-x86_64.tar.gz") source_aarch64=("${pkgname}-${pkgver}-aarch64.tar.gz::https://github.com/zed-industries/zed/releases/download/v${pkgver}/zed-linux-aarch64.tar.gz")-sha256sums_x86_64=('d3c0665cd9338c1d7b95288993167dcc53db98f9dcf1cea3965825b2e299f2a7')-sha256sums_aarch64=('41d04694fce05a4fe9d785cacd05983b7235050541d8a787855b3f3e1a0e26df')++sha256sums_x86_64=('3682dd058a305d2b246a14d64419fcf42e86a06e27755d23b5a28622ed9aef85')+sha256sums_aarch64=('4f75332ab8155a5a62b0cdc473473cf8938959cf3cd2b0145e2975969d7e8929') package() { cd 'zed.app'@@ -51,8 +45,18 @@ sed -i "s|^Exec=zed |Exec=/usr/bin/zed |" "$desktop" sed -i "s|^TryExec=zed$|TryExec=/usr/bin/zed|" "$desktop" - # Install CLI launcher- install -Dm755 'bin/zed' "${pkgdir}/usr/bin/zed"+ # Install CLI launcher (real binary; wrapped below so in-app auto-update+ # is disabled and updates only happen via the package manager, yay -Syu)+ install -Dm755 'bin/zed' "${pkgdir}/usr/bin/zed.real"++ # Wrapper: the editor reads ZED_UPDATE_EXPLANATION at startup and skips+ # its own update polling/installs when it is set (see auto_update crate).+ cat > "${pkgdir}/usr/bin/zed" <<'EOF'+#!/bin/sh+export ZED_UPDATE_EXPLANATION='Updates are handled by your package manager'+exec /usr/bin/zed.real "$@"+EOF+ chmod 755 "${pkgdir}/usr/bin/zed" # Install main editor binary (CLI looks for ../lib/zed/zed-editor) install -Dm755 'libexec/zed-editor' "${pkgdir}/usr/lib/zed/zed-editor"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-27 13:32:42 | Medium | 2 |
| 2026-07-30 00:17:23 | Clean | 3 |
| 2026-07-29 13:11:48 | Medium | 2 |
| 2026-07-29 11:11:22 | Medium | 2 |
| 2026-07-29 00:25:53 | Clean | 2 |
| 2026-07-28 13:38:59 | Low | 1 |
| 2026-07-28 11:38:42 | Low | 1 |
| 2026-07-26 00:07:32 | Clean | 2 |
| 2026-07-25 05:29:17 | Low | 1 |
| 2026-07-25 00:13:44 | Clean | 2 |
| 2026-07-24 23:28:32 | Low | 1 |