PKGBUILD-Assistant is an auxiliary tool for writing PKGBUILD files developed using the Qt5 framework.
PLATFORM | LINK |
---|---|
AUR | pkgbuild-assistant |
Github Release | PKGBUILD-Assistant |
PKGBUILD-Assistant provides basic software package information editing functions, such as package name ${pkgname}
and package release version ${pkgver}
.
PKGBUILD-Assistant can scan the lib files in the specified directory and call the Shell program pacman -Fx
to query the software packages corresponding to the lib file.
PKGBUILD-Assistant can simulate the operation of Package()
function in specified directory, such as copying files, folders, deleting file folders, etc. PKGBUILD-Assistant Package()
function implementation block Real-time maintains two virtual directory tree structures of ${srcdir}
and ${pkgdir}
. By referring to the structure of the virtual directory tree, users can write the contents of the Package()
function more intuitively.
PKGBUILD-Assistant can call namcap to check the validity of PKGBUILD and generated package. It is worth mentioning that when detecting the generated package, PKGBUILD-Assistant can remind the user whether to delete the dependency marked by namcap as dependency-not-needed (unneeded dependency).
PKGBUILD-Assistant是一款使用Qt5框架进行开发的PKGBUILD文件编写辅助工具。
平台 | LINK |
---|---|
AUR | pkgbuild-assistant |
Github Release | PKGBUILD-Assistant |
PKGBUILD-Assistant提供了基本的软件包信息编辑功能,如软件包名称${pkgname}
、软件包发行版本${pkgver}
等。
PKGBUILD-Assistant可以通过扫描指定目录下的lib文件,调用Shell程序pacman -Fx
查询lib文件对应的软件包。
PKGBUILD-Assistant可以在指定目录模拟Package()
函数操作,如拷贝文件、文件夹,删除文件文件夹等。PKGBUILD-Assistant Package()
函数实现版块实时维护了${srcdir}
与${pkgdir}
两个虚拟目录树结构。通过参照虚拟目录树结构,使用者能够比较直观地编写Package()
函数内容。
PKGBUILD-Assistant可以调用namcap对PKGBUILD和生成包进行合法性检测。值得一提的是,对生成包进行检测时,PKGBUILD-Assistant可提醒用户是否删除被namcap标记为dependency-not-needed的依赖(即不需要的依赖)。