void-packages/srcpkgs/editline/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

27 lines
741 B
Bash

# Template file for 'editline'
pkgname=editline
version=1.16.1
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=6518cc0d8241bcebc860432d1babc662a9ce0f5d6035649effe38b5bc9463f8c
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"
}
}