32 lines
912 B
Bash
32 lines
912 B
Bash
# Template file for 'libedit'
|
|
pkgname=libedit
|
|
version=20210522.3.1
|
|
revision=1
|
|
_distver="${version%%.*}-${version#*.}"
|
|
wrksrc="${pkgname}-${_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-${_distver}.tar.gz"
|
|
checksum=0220bc2047e927c0c1984ef5f7b4eb2a9469a5b7bf12ba573ca3b23ca02bbb6f
|
|
|
|
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
|
|
}
|
|
}
|