pacman/scripts
Eli Schwartz d8591dd341 makepkg --packagelist: just list the built package files we will build
Currently this seems to be only theoretically useful. The most likely
reason for wanting a packagelist is in order to script makepkg and
derive the filenames for the packages we want to install or repo-add,
but in the current implementation this requires a lot of additional
post-processing which must be duplicated in every utility to wrap
makepkg.

- It is of minimal use to know what packages might get created on some
  other device utilizing a different CPU/OS architecture, so don't list
  them.
- It is non-trivial to reimplement makepkg's logic for sourcing any of
  several makepkg.conf configuration files, then applying environment
  overrides in order to get the PKGDEST and PKGEXT, so include them
  directly in the returned filenames.
- Output is delimited by newlines, for readability. For maximum
  parsing reliability, libmakepkg needs to learn how to lint the PKGDEST
  and PKGEXT variables to ensure they do not contain newlines, which
  will be submitted in a separate patch.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-03-14 12:16:58 +10:00
..
completion use pacman-conf in bash completion 2018-01-19 12:04:45 +10:00
libmakepkg makepkg --packagelist: just list the built package files we will build 2018-03-14 12:16:58 +10:00
library makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
po makepkg: warn about dotfiles in package root 2017-01-04 13:59:14 +10:00
.gitignore makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
Makefile.am makepkg: refactor archive compression for reusability 2017-12-07 15:46:04 +10:00
makepkg-template.pl.in Update copyright years 2017-01-04 13:59:14 +10:00
makepkg.sh.in Fix usage of install_package 2018-01-19 12:05:18 +10:00
pacman-db-upgrade.sh.in use pacman-conf in scripts 2018-01-19 12:02:11 +10:00
pacman-key.sh.in pacman-key: do not set a default keyserver 2018-01-19 12:05:58 +10:00
pkgdelta.sh.in Replace @SIZECMD@ with POSIX-compatible command 2017-04-04 12:21:20 +10:00
repo-add.sh.in Replace @SIZECMD@ with POSIX-compatible command 2017-04-04 12:21:20 +10:00
wrapper.sh.in Update copyright years 2017-01-04 13:59:14 +10:00