readline: update to 7.0.003.
Closes #14469. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
487041e64f
commit
8bd4fbbb79
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'readline'.
|
# Template build file for 'readline'.
|
||||||
pkgname=readline
|
pkgname=readline
|
||||||
_dist_ver=7.0
|
_dist_ver=7.0
|
||||||
_patch_ver=000
|
_patch_ver=003
|
||||||
version=${_dist_ver}.${_patch_ver}
|
version=${_dist_ver}.${_patch_ver}
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=${pkgname}-${_dist_ver}
|
wrksrc=${pkgname}-${_dist_ver}
|
||||||
|
@ -10,8 +10,8 @@ configure_args="--with-curses --enable-multibyte"
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
short_desc="The GNU Readline Library"
|
short_desc="The GNU Readline Library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
|
homepage="https://tiswww.cwru.edu/php/chet/readline/rltop.html"
|
||||||
license="GPL-3"
|
license="GPL-3.0-or-later"
|
||||||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${_dist_ver}.tar.gz"
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${_dist_ver}.tar.gz"
|
||||||
checksum=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
|
checksum=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
|
||||||
|
|
||||||
|
@ -21,17 +21,18 @@ pre_configure() {
|
||||||
cd ${XBPS_SRCDISTDIR}/${pkgname}-${version}
|
cd ${XBPS_SRCDISTDIR}/${pkgname}-${version}
|
||||||
if [ "${_patch_ver}" -gt 000 ]; then
|
if [ "${_patch_ver}" -gt 000 ]; then
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
for p in $(seq -w 001 ${_patch_ver}); do
|
||||||
if [ -f readline63-${p} ]; then
|
if [ -f readline${version/./}-${p} ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
msg_normal " Fetching $url/readline63-$p ...\n"
|
local patch_url="${url}/readline${_dist_ver/./}-${p}"
|
||||||
$XBPS_FETCH_CMD ${url}/readline63-$p
|
msg_normal " Fetching ${patch_url} ...\n"
|
||||||
|
$XBPS_FETCH_CMD "${patch_url}"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
for p in $(seq -w 001 ${_patch_ver}); do
|
||||||
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/${pkgname}-${version}/readline63-${p}
|
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/${pkgname}-${version}/readline${_dist_ver/./}-${p}
|
||||||
msg_normal " Applying patch readline63-$p.\n"
|
msg_normal " Applying patch readline${_dist_ver/./}-$p.\n"
|
||||||
done
|
done
|
||||||
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
site="https://git.savannah.gnu.org/cgit/readline.git"
|
||||||
|
pattern="(readline-\K[\d.]+(?=\.tar.gz))|(Readline-\K[\d.]+ patch \d+)"
|
||||||
|
version="${_dist_ver} patch ${_patch_ver}"
|
Loading…
Reference in New Issue