Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-28 19:34:51 +0200
committerErich Eckner <git@eckner.net>2018-09-28 19:34:51 +0200
commit2cdc81401092caf0c70541f71b11b029e1d323cd (patch)
tree3594008184306a2ab41c81281b0e8dbcf0c7b4e0 /misc
parent3e60f5296f151bb1df0757c99590ace75e6c65e4 (diff)
misc/PKGBUILD-appendix-for-archive-server: tell archive-server the type of archive (currently only "git")
Diffstat (limited to 'misc')
-rw-r--r--misc/PKGBUILD-appendix-for-archive-server7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/PKGBUILD-appendix-for-archive-server b/misc/PKGBUILD-appendix-for-archive-server
index b2bdf79..b99268c 100644
--- a/misc/PKGBUILD-appendix-for-archive-server
+++ b/misc/PKGBUILD-appendix-for-archive-server
@@ -12,13 +12,15 @@ for ((i=0; i<${#source[@]}; i++)); do
s/\\|$//
s/[.]/[.]/g
'
- )"'\)\(?signed\)\?#\(\(tag\|commit\)=\S\+\)$@\2 \3 \4 \5@
+ )"'\)\(?signed\)\?#\(\(tag\|commit\)=\S\+\)$@git \2 \3 \4 \5@
T
p
'
)
if [ -n "${infos}" ]; then
source[${i}]=$(
+ type="${infos%% *}"
+ infos="${infos#* }"
if [ -n "${infos%% *}" ]; then
prefix="${infos%% *}"
else
@@ -52,9 +54,10 @@ for ((i=0; i<${#source[@]}; i++)); do
sed 's/=/%3D/g'
)
- printf '%s-%s.tar.gz::https://archive-server.archlinux32.org/?p=%s&r=%s%s&%s\n' \
+ printf '%s-%s.tar.gz::https://archive-server.archlinux32.org/?t=%s&p=%s&r=%s%s&%s\n' \
"${prefix}" \
"${pkgver}" \
+ "${type}" \
"${prefix_64}" \
"${repo64}" \
"${key_check}" \