Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/misc/PKGBUILD-appendix-for-archive-server
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-29 11:42:57 +0200
committerErich Eckner <git@eckner.net>2018-09-29 11:42:57 +0200
commitd91676e96f5cbf0cf6b69cc65a78bfadd2daec97 (patch)
treef97ee6530341a0343b6087b28bfbb336e4ed052f /misc/PKGBUILD-appendix-for-archive-server
parent2cdc81401092caf0c70541f71b11b029e1d323cd (diff)
misc/PKGBUILD-appendix-for-archive-server: add firefox hg source mangling
Diffstat (limited to 'misc/PKGBUILD-appendix-for-archive-server')
-rw-r--r--misc/PKGBUILD-appendix-for-archive-server7
1 files changed, 4 insertions, 3 deletions
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
'