From ArchWiki
Revision as of 00:38, 18 July 2012 by Karol (talk | contribs) (pkgfile: I hope I got it right:
Jump to: navigation, search

pkgtools is a package created by Daenyth that includes various useful package-related utilities. It is available in community, and the latest pkgtools-gitAUR release is available in AUR.


A tool to simplify creating a new package.


"Command not found" hook

pkgtools includes a "command not found" hook for pkgfile that will automatically search the official repositories if you enter a command that is not recognized. It can be enabled in /etc/pkgtools/pkgfile.conf or in ~/.config/pkgtools/pkgfile.conf.

Note: This will only enable the hook in the login shell. To enable it in all children shells too, you need to source /etc/profile from your ~/.bashrc or ~/.zshrc. E.g.:
source /etc/profile


Converts an rpm .spec file into a PKGBUILD.