From d91676e96f5cbf0cf6b69cc65a78bfadd2daec97 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 29 Sep 2018 11:42:57 +0200 Subject: misc/PKGBUILD-appendix-for-archive-server: add firefox hg source mangling --- misc/PKGBUILD-appendix-for-archive-server | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'misc') diff --git a/misc/PKGBUILD-appendix-for-archive-server b/misc/PKGBUILD-appendix-for-archive-server index b99268c..a968159 100644 --- a/misc/PKGBUILD-appendix-for-archive-server +++ b/misc/PKGBUILD-appendix-for-archive-server @@ -2,17 +2,18 @@ for ((i=0; i<${#source[@]}; i++)); do infos=$( printf '%s\n' "${source[${i}]}" | \ sed -n ' - s@^\(\([^:]\+\)::\)\?git+\('"$( + s@^\(\([^:]\+\)::\)\?\(git\|hg\)+\('"$( printf '%s\|' \ 'https://git.archlinux.org/linux.git' \ 'https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git' \ 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' \ - 'https://github.com/zen-kernel/zen-kernel' | \ + 'https://github.com/zen-kernel/zen-kernel' \ + 'https://hg.mozilla.org/mozilla-unified' | \ sed ' s/\\|$// s/[.]/[.]/g ' - )"'\)\(?signed\)\?#\(\(tag\|commit\)=\S\+\)$@git \2 \3 \4 \5@ + )"'\)\(?signed\)\?#\(\(tag\|commit\)=\S\+\)$@\3 \2 \4 \5 \6@ T p ' -- cgit v1.2.3-70-g09d2