2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2022-11-19 18:17:37 +01:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2022-03-20 13:19:37 +01:00
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
2022-11-19 18:17:37 +01:00
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:19:37 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
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=01
|
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/'
|
|
|
|
depends=('glibc' 'ncurses' 'libncursesw.so')
|
|
|
|
provides=('libedit.so')
|
2022-11-19 18:17:37 +01:00
|
|
|
# options=('debug') ## uncomment this for debug pkg
|
2022-03-20 13:19:37 +01:00
|
|
|
source=(${url}/${pkgname}-${_pkgver}.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${_pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
|
|
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}
|
2024-05-28 01:51:09 +02:00
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
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}"
|
|
|
|
}
|
|
|
|
|
2024-05-28 01:51:09 +02:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
|
|
|
|
|
|
|
license=(BSD-3-Clause)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2024-05-28 01:51:09 +02:00
|
|
|
b2sums=('6326a428204c020864b47db938973a13afb3580f9bb4e7b4d3cb861743c75e1cee99b569cb2baad3e1c7d6dc6986af5282492b5dd9f421a8243bf1d583a87e15')
|
|
|
|
sha256sums=(3a489097bb4115495f3bd85ae782852b7097c556d9500088d74b6fa38dbd12ff) # libedit-20240517-3.1.tar.gz
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2024-05-28 01:51:09 +02:00
|
|
|
## 5cfe19fa22d5686cc79c82d811979a072f0a41ba27878e717d133bfe0fcf9c35 libedit-20240517_3.1-01-x86_64.pkg.tar.lz
|
2022-11-19 18:17:37 +01:00
|
|
|
|