2022-03-20 13:19:37 +01:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
# Contributor: Gaetan Bisson <bisson@archlinux.org>
|
|
|
|
# Contributor: Vesa Kaihlavirta <vesa@archlinux.org>
|
|
|
|
# Contributor: Roman Cheplyaka <roma@ro-che.info>
|
|
|
|
|
|
|
|
pkgname=libedit
|
2024-05-28 01:51:09 +02:00
|
|
|
pkgver=20240517_3.1
|
|
|
|
_pkgver=${pkgver/_/-}
|
2023-02-25 18:15:53 +01:00
|
|
|
pkgrel=1
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
|
|
|
|
url='https://thrysoee.dk/editline/'
|
2024-05-28 01:51:09 +02:00
|
|
|
arch=(x86_64)
|
|
|
|
license=(BSD-3-Clause)
|
|
|
|
depends=(
|
|
|
|
glibc
|
|
|
|
ncurses
|
|
|
|
libncursesw.so
|
|
|
|
)
|
2022-03-20 13:19:37 +01:00
|
|
|
source=(${url}/${pkgname}-${_pkgver}.tar.gz)
|
2024-05-28 01:51:09 +02:00
|
|
|
sha256sums=('3a489097bb4115495f3bd85ae782852b7097c556d9500088d74b6fa38dbd12ff')
|
|
|
|
b2sums=('6326a428204c020864b47db938973a13afb3580f9bb4e7b4d3cb861743c75e1cee99b569cb2baad3e1c7d6dc6986af5282492b5dd9f421a8243bf1d583a87e15')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${_pkgver}
|
2024-05-28 01:51:09 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr
|
2022-03-20 13:19:37 +01:00
|
|
|
make V=1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2024-05-28 01:51:09 +02:00
|
|
|
provides=(libedit.so)
|
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
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}"
|
|
|
|
}
|
|
|
|
|
2022-11-19 18:17:37 +01:00
|
|
|
# vim:set sw=2 sts=-1 et:
|