From 56f49080b7139a7f795f5a0e6a083edb828d0c67 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 30 Aug 2020 11:55:45 +0200 Subject: [PATCH] libreadline8: update to 8.0.004. complex toplevel shell scripts should not be used and often break xbps-src-go --- srcpkgs/libreadline8/template | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/srcpkgs/libreadline8/template b/srcpkgs/libreadline8/template index c351f0db6e2..c67a36adcc0 100644 --- a/srcpkgs/libreadline8/template +++ b/srcpkgs/libreadline8/template @@ -1,7 +1,7 @@ # Template file for 'libreadline8' pkgname=libreadline8 _dist_ver=8.0 -_patch_ver=001 +_patch_ver=004 version="${_dist_ver}.${_patch_ver}" revision=1 bootstrap=yes @@ -13,18 +13,20 @@ short_desc="GNU Readline Library" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://tiswww.cwru.edu/php/chet/readline/rltop.html" -distfiles="${GNU_SITE}/readline/readline-${_dist_ver}.tar.gz" - -_url="${GNU_SITE}/readline/readline-${_dist_ver}-patches" -for _p in $(seq -w 001 ${_patch_ver}); do - distfiles+=" ${_url}/readline${_dist_ver/./}-${_p}" - skip_extraction+=" readline${_dist_ver/./}-${_p}" -done -unset _url -unset _p - +distfiles="${GNU_SITE}/readline/readline-${_dist_ver}.tar.gz + ${GNU_SITE}/readline/readline-${_dist_ver}-patches/readline${_dist_ver/./}-001 + ${GNU_SITE}/readline/readline-${_dist_ver}-patches/readline${_dist_ver/./}-002 + ${GNU_SITE}/readline/readline-${_dist_ver}-patches/readline${_dist_ver/./}-003 + ${GNU_SITE}/readline/readline-${_dist_ver}-patches/readline${_dist_ver/./}-004" checksum="e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461 - d8e5e98933cf5756f862243c0601cb69d3667bb33f2c7b751fe4e40b2c3fd069" + d8e5e98933cf5756f862243c0601cb69d3667bb33f2c7b751fe4e40b2c3fd069 + 36b0febff1e560091ae7476026921f31b6d1dd4c918dcb7b741aa2dad1aec8f7 + 94ddb2210b71eb5389c7756865d60e343666dfb722c85892f8226b26bb3eeaef + b1aa3d2a40eee2dea9708229740742e649c32bb8db13535ea78f8ac15377394c" +skip_extraction="readline${_dist_ver/./}-001 + readline${_dist_ver/./}-002 + readline${_dist_ver/./}-003 + readline${_dist_ver/./}-004" post_patch() { cd ${wrksrc}