* update libedit to 20240808_3.1-1

This commit is contained in:
Alexander Baldeck 2025-02-09 11:31:53 +01:00
parent 49bd644014
commit 76a9883d9b
3 changed files with 30 additions and 7 deletions

20
libedit/.SRCINFO Normal file
View File

@ -0,0 +1,20 @@
pkgbase = libedit
pkgdesc = Command line editor library providing generic line editing, history, and tokenization functions
pkgver = 20240808_3.1
pkgrel = 1
url = https://thrysoee.dk/editline/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = BSD-3-Clause
depends = glibc
depends = ncurses
depends = libncursesw.so
source = https://thrysoee.dk/editline//libedit-20240808-3.1.tar.gz
sha256sums = 5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f
b2sums = c10a53d155a7dfbffdaa177aa41206c4bdca54efe8debd7df8cc3ddeaacf574e3cdd69bce9d30801c533f92907e757a92011fde989ee3a39ec91a73b9f80aa41
pkgname = libedit
provides = libedit.so

6
libedit/.nvchecker.toml Normal file
View File

@ -0,0 +1,6 @@
[libedit]
source = "regex"
url = "https://thrysoee.dk/editline/"
regex = "libedit-([0-9\\.\\-]+).tar.gz"
from_pattern = "\\-"
to_pattern = "_"

View File

@ -5,9 +5,9 @@
# Contributor: Roman Cheplyaka <roma@ro-che.info>
pkgname=libedit
pkgver=20240517_3.1
pkgver=20240808_3.1
_pkgver=${pkgver/_/-}
pkgrel=1.1
pkgrel=1
pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
url='https://thrysoee.dk/editline/'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -18,8 +18,8 @@ depends=(
libncursesw.so
)
source=(${url}/${pkgname}-${_pkgver}.tar.gz)
sha256sums=('3a489097bb4115495f3bd85ae782852b7097c556d9500088d74b6fa38dbd12ff')
b2sums=('6326a428204c020864b47db938973a13afb3580f9bb4e7b4d3cb861743c75e1cee99b569cb2baad3e1c7d6dc6986af5282492b5dd9f421a8243bf1d583a87e15')
sha256sums=('5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f')
b2sums=('c10a53d155a7dfbffdaa177aa41206c4bdca54efe8debd7df8cc3ddeaacf574e3cdd69bce9d30801c533f92907e757a92011fde989ee3a39ec91a73b9f80aa41')
build() {
cd ${pkgname}-${_pkgver}
@ -34,9 +34,6 @@ package() {
cd ${pkgname}-${_pkgver}
make DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/share/man/man3/history.3 # conflicts with readline
install -Dm 644 "${pkgdir}"/usr/share/man/man3/editline.3 "${pkgdir}"/usr/share/man/man3/el.3
install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}