void-packages/srcpkgs/libedit/template
Nathan Owens 16c232e0a8 libedit: update to 20191231
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2020-01-02 11:04:42 +01:00

33 lines
940 B
Bash

# Template file for 'libedit'
pkgname=libedit
_datever=20191231
_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="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.thrysoee.dk/editline/"
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
checksum=dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071
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
}
}