editline: avoid file conflict with libedit

libedit-devel and editline-devel both package an editline.3 man page
To resolve, here editline.3 is renamed to libeditline.3

Conflict free name borrowed from the gentoo package
This commit is contained in:
Mat Boehlke 2022-10-18 13:55:32 -05:00 committed by classabbyamp
parent ff3fa3df6f
commit 04df28a555

View file

@ -1,17 +1,21 @@
# Template file for 'editline'
pkgname=editline
version=1.17.1
revision=1
revision=2
build_style=gnu-configure
short_desc="Minimal readline() replacement"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Spencer-94"
homepage="http://troglobit.com/projects/editline/"
homepage="https://troglobit.com/projects/editline/"
changelog="https://raw.githubusercontent.com/troglobit/editline/master/ChangeLog.md"
distfiles="https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.xz"
checksum=df223b3333a545fddbc67b49ded3d242c66fadf7a04beb3ada20957fcd1ffc0e
post_install() {
rm -rf ${DESTDIR}/usr/share/doc
# avoid conflict with libedit
mv ${DESTDIR}/usr/share/man/man3/{,lib}editline.3
}
editline-devel_package() {