前几天看了equivs(哑包制作程序)怎么用,发现它不止能指定依赖,还允许在包里包含文件,今天尝试把hmcl启动器的jar文件做成deb包,从aur上找个写好的脚本做素材,在equivs文件里指定好这些文件的安装位置,包一下就出来了
Section: game
Priority: optional
Homepage: https://hmcl.huangyuhui.net
Standards-Version: 3.9.2
Package: hmcl
Version: 3.6.13
Depends: default-jre
Copyright: copyright
Files: HMCL-3.6.13.jar /opt/hmcl/
argfile/disable-update /opt/hmcl/
hmcl.png /usr/share/pixmaps/
hmcl.desktop /usr/share/applications/
hmcl-launch-script /usr/bin/
Description: A Minecraft Launcher which is multi-functional, cross-platform and popular
HMCL is an open-source, cross-platform Minecraft launcher that supports Mod Management,
Game Customizing, ModLoader Installing (Forge, NeoForge, Fabric, Quilt, LiteLoader, and OptiFine),
Modpack Creating, UI Customization, and more.