void-packages/srcpkgs/editline/template
2020-01-10 19:09:45 +01:00

27 lines
741 B
Bash

# Template file for 'editline'
pkgname=editline
version=1.17.0
revision=1
build_style=gnu-configure
short_desc="Minimal readline() replacement"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Spencer-94"
homepage="http://troglobit.com/projects/editline/"
distfiles="https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.xz"
checksum=257fbf1f92eeb401d448f5a7f5e108416afd0f5979c5cbab2ea3010e0152ee93
post_install() {
rm -rf ${DESTDIR}/usr/share/doc
}
editline-devel_package() {
depends="editline-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}