pacman/scripts
Dominik Fischer b0ae59724e makepkg-template: support multiple --template-dirs
Especially when maintaining local templates in addition to the ones
stored in /usr/share/makepkg-template, it can be useful to include
templates stored in multiple different locations into one PKGBUILD. This
patch makes this possible by allowing --template-dir to be specified
multiple times.

This also introduces a dedicated error message when a template cannot be
found, in contrast to the already existing "Couldn't detect version for
template '%s'".

If a template of the same name is present in more than one of the given
directories, the last one always takes precedence.

Neither the default behaviour without the option given, nor the handling
of a single template dir is changed.

Signed-off-by: Dominik Fischer <d.f.fischer@web.de>
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-05-12 14:00:54 +10:00
..
libmakepkg libmakepkg: move helper functions into tidy/strip 2015-03-15 15:32:58 +10:00
library Consistently use 'directory' instead of 'folder' 2014-01-28 21:37:00 +10:00
po Merge branch 'maint' 2015-02-20 10:36:18 +10:00
.gitignore makepkg: run locally with libtool style wrapper 2013-10-14 13:01:03 +10:00
Makefile.am libmakepkg: move package checking out of tidy_install 2015-02-12 14:00:55 +10:00
makepkg-template.pl.in makepkg-template: support multiple --template-dirs 2015-05-12 14:00:54 +10:00
makepkg-wrapper.sh.in Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
makepkg.sh.in Add makepkg option --packagelist 2015-03-26 14:44:10 +10:00
pacman-db-upgrade.sh.in Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
pacman-key.sh.in Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
pacman-optimize.sh.in Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
pkgdelta.sh.in pkgdelta: Use high compression options offered by xdelta3 2015-01-02 21:48:59 +10:00
repo-add.sh.in repo-add: merge desc and depends files 2015-03-26 14:43:37 +10:00