void-packages/srcpkgs/libedit/template

32 lines
889 B
Bash

# Template file for 'libedit'
pkgname=libedit
version=20240808.3.1
revision=1
build_style=gnu-configure
# only check if man support nroff format
# all of our man supports nroff
configure_args="ac_cv_path_NROFF=/bin/true"
makedepends="ncurses-devel"
short_desc="Port of the NetBSD Command Line Editor Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.thrysoee.dk/editline/"
distfiles="https://www.thrysoee.dk/editline/libedit-${version%%.*}-${version#*.}.tar.gz"
checksum=5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f
post_install() {
vlicense COPYING
}
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
}
}