Skip to content

An auxiliary tool for writing PKGBUILD files written in Qt5.

Notifications You must be signed in to change notification settings

skykeyjoker/PKGBUILD-Assistant

Repository files navigation

PKGBUILD-Assistant English Doc

PKGBUILD-Assistant is an auxiliary tool for writing PKGBUILD files developed using the Qt5 framework.

Availability

PLATFORM LINK
AUR pkgbuild-assistant
Github Release PKGBUILD-Assistant

Features

Basic information editing

PKGBUILD-Assistant provides basic software package information editing functions, such as package name ${pkgname} and package release version ${pkgver}.

Dependencies Query

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.

Package() Implement

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 and generated software package validity Check

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).

Related Links:


PKGBUILD-Assistant 中文文档

PKGBUILD-Assistant是一款使用Qt5框架进行开发的PKGBUILD文件编写辅助工具。

获取程序

平台 LINK
AUR pkgbuild-assistant
Github Release PKGBUILD-Assistant

程序功能

基本包信息编辑

PKGBUILD-Assistant提供了基本的软件包信息编辑功能,如软件包名称${pkgname}、软件包发行版本${pkgver}等。

运行依赖查询

PKGBUILD-Assistant可以通过扫描指定目录下的lib文件,调用Shell程序pacman -Fx查询lib文件对应的软件包。

Package()函数实现

PKGBUILD-Assistant可以在指定目录模拟Package()函数操作,如拷贝文件、文件夹,删除文件文件夹等。PKGBUILD-Assistant Package()函数实现版块实时维护了${srcdir}${pkgdir}两个虚拟目录树结构。通过参照虚拟目录树结构,使用者能够比较直观地编写Package()函数内容。

PKGBUILD与生成包合法性检测

PKGBUILD-Assistant可以调用namcap对PKGBUILD和生成包进行合法性检测。值得一提的是,对生成包进行检测时,PKGBUILD-Assistant可提醒用户是否删除被namcap标记为dependency-not-needed的依赖(即不需要的依赖)。

相关链接