diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/PKGBUILD-appendix-for-archive-server | 7 |
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}" \ |