appimage-manager-bin

LOW
maintainer orphaned 0 votes scanned 2026-10-17 00:21:55.226236
View on AUR
Why flagged

The package installs a prebuilt AppImage from the project's official GitHub release, extracts it, and installs the contained files; while the source is a binary blob, it comes from a trusted project host and is not executed remotely or obfuscated, limiting risk to typical supply-chain concerns for binary packages.

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 installs a prebuilt AppImage from the project's official GitHub release, extracts it, and installs the contained files; while the source is a binary blob, it comes from a trusted project host and is not executed remotely or obfuscated, limiting risk to typical supply-chain concerns for binary packages.

PKGBUILD

1# Maintainer: DarkLord-W <42199147+DarkLord-W@users.noreply.github.com>
2
3pkgname=appimage-manager-bin
4pkgver=1.1.0
5pkgrel=1
6pkgdesc="Scan for AppImages and create and maintain their desktop launchers"
7arch=('x86_64')
8url="https://github.com/DarkLord-W/appimage-manager"
9license=('GPL-3.0-or-later')
10depends=('gtk3' 'json-glib')
11
12# 和源码版互斥:两个包装的是同一个 /usr/bin/appimage-manager。
13# 用 provides + conflicts 而不是 replaces —— 准则里说 replaces 只在
14# 软件包重命名时用,这里只是同一个软件的不同来源。
15provides=('appimage-manager')
16conflicts=('appimage-manager')
17
18# 源就是发布出去的 AppImage。没有 build():里面已经是编译好的产物。
19source=("AppImage-Manager-$pkgver-x86_64.AppImage::https://github.com/DarkLord-W/appimage-manager/releases/download/v$pkgver/AppImage-Manager-$pkgver-x86_64.AppImage")
20
21# 全零是占位符,提交到 AUR 之前必须由 scripts/publish-aur.sh 从 Release 的
22# SHA256SUMS 里读出真值填进来。留占位符而不是留一个真哈希:真哈希会随着
23# 上游重发资产而失效,占位符不可能"看起来是对的"。
24sha256sums=('908267f85c54074faaf320ccf72368b1ba2b9c21747fcafae2ae2d97ba5fee02')
25
26package() {
27 cd "$srcdir"
28
29 # 解包,而不是把 .AppImage 直接装到 /usr/bin。
30 #
31 # 直接装的话用户每次运行都要 FUSE 挂载,就得给包加 fuse2 依赖 ——
32 # 那是 AppImage 这个**格式**的开销,程序本身根本不需要它。
33 # 解出来按正常目录结构装,装完之后和源码版**一模一样**。
34 #
35 # chmod 不能省:makepkg 下载下来的源文件是 0644,没有可执行位,
36 # 直接跑会报 "Permission denied"。那个报错指向 .AppImage 文件本身,
37 # 看着像下载坏了或者文件损坏,其实只是权限。
38 chmod +x "AppImage-Manager-$pkgver-x86_64.AppImage"
39 ./"AppImage-Manager-$pkgver-x86_64.AppImage" --appimage-extract >/dev/null
40
41 install -Dm755 squashfs-root/usr/bin/appimage-manager \
42 "$pkgdir/usr/bin/appimage-manager"
43 install -Dm644 squashfs-root/usr/share/appimage-manager/style.css \
44 "$pkgdir/usr/share/appimage-manager/style.css"
45 install -Dm644 squashfs-root/usr/share/icons/hicolor/256x256/apps/appimage-manager.png \
46 "$pkgdir/usr/share/icons/hicolor/256x256/apps/appimage-manager.png"
47
48 # 许可证全文。GPL 要求分发二进制时附带;AppImage 里有(由 make install
49 # 装进 AppRun 目录树),直接取过来。取不到就报错而不是静默少一个文件。
50 if [ ! -f squashfs-root/usr/share/licenses/appimage-manager/LICENSE ]; then
51 echo "ERROR: AppImage 里没有 LICENSE,这个包不能这么打。" >&2
52 echo " 原因通常是这个 Release 的 AppImage 由旧版 Makefile 打出 ——" >&2
53 echo " 那时 make install 还不装许可证(在 Makefile 的 install 目标里)。" >&2
54 echo " 用当前代码重打一个 Release 再发这个包。" >&2
55 exit 1
56 fi
57 install -Dm644 squashfs-root/usr/share/licenses/appimage-manager/LICENSE \
58 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
59
60 # .desktop 用 AppImage 自带的,改两处:
61 #
62 # Exec=AppRun → /usr/bin/appimage-manager
63 # AppRun 是 AppImage 内部的启动器,正常安装之后那个文件不存在。
64 # X-AppImage-Version 整行删掉
65 # 那是 AppImage 专用的字段。pacman 装的包不是 AppImage,
66 # 留着它只会让以后排查问题的人误以为装的是 AppImage。
67 #
68 # 不自己写一份完整的:AppImage 里那份本来就是从仓库的模板生成的,
69 # 抄一份出来就有了两个真相来源,将来改模板必然会漏掉这个 ——
70 # 尤其是 StartupWMClass,它必须和程序里 set_wmclass() 的 class
71 # 字段一致,否则任务栏图标会退回通用占位图。
72 install -d "$pkgdir/usr/share/applications"
73 sed -e 's|^Exec=AppRun|Exec=/usr/bin/appimage-manager|' \
74 -e '/^X-AppImage-Version=/d' \
75 squashfs-root/appimage-manager.desktop \
76 > "$pkgdir/usr/share/applications/appimage-manager.desktop"
77 chmod 0644 "$pkgdir/usr/share/applications/appimage-manager.desktop"
78}
79

Scan history

Scanned at (UTC)SeverityRules
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2
2026-10-12 00:18:51 Low 2
2026-10-11 15:10:51 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion