Wiki page
[arch] by
mario
2015-05-01 00:13:12.
D 2015-05-01T00:13:12.202
L arch
N text/x-markdown
P 81e52eef5fbf6c62894516e014499cdbecb65b37
U mario
W 938
### <kbd>*-t* `arch`</kbd> package target
[Arch Linux](https://www.archlinux.org/) provides a mixed-mode package system. While [ABS/`makepkg`](https://wiki.archlinux.org/index.php/Arch_Build_System) allows ports-style package building from source, the [pacman](https://wiki.archlinux.org/index.php/Pacman) installer works with binary packages.
The fpm/xpm `-t arch` target crafts such .pkg.txz archives, and embeds:
- `.PKGINFO` a meta description ini file
- `.MTREE` a bsdtar mode/type/gid/uid/checksum file
Generated tarballs don't carry a leading `./` for contained files. Otherwise this is a fairly standard target.
- Dependencies are listed (take note that Arch pkgnames may differ).
- License is just always listed as `'custom'`, no mapping yet defined.
- Build dependencies aren't mirrored (no idea what those are, and fpm doesn't have any).
- Owner/group ids are always set to root in the tarball.
Z c0c4fa9ba0d6ee211e35581cb4c8ce3b