8133b9b362
Closes #14712. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
33 lines
937 B
Bash
33 lines
937 B
Bash
# Template file for 'libedit'
|
|
pkgname=libedit
|
|
_datever=20180525
|
|
_distver=3.1
|
|
version=${_datever}.${_distver}
|
|
revision=1
|
|
wrksrc="${pkgname}-${_datever}-${_distver}"
|
|
build_style=gnu-configure
|
|
makedepends="ncurses-devel"
|
|
short_desc="Port of the NetBSD Command Line Editor Library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://www.thrysoee.dk/editline/"
|
|
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
|
|
checksum=c41bea8fd140fb57ba67a98ec1d8ae0b8ffa82f4aba9c35a87e5a9499e653116
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
# history.3 conflicts with readline-devel
|
|
rm ${DESTDIR}/usr/share/man/man3/history.3
|
|
}
|
|
|
|
libedit-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|