28 lines
756 B
Bash
28 lines
756 B
Bash
# Template file for 'editline'
|
|
pkgname=editline
|
|
version=1.16.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
short_desc="Minimal readline() replacement"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="Spencer-94"
|
|
homepage="http://troglobit.com/projects/editline/"
|
|
distfiles="https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.xz"
|
|
checksum=38a3635f6850774d70f14d293b8755eaef85760755b600875aab59e9a3a98f3d
|
|
|
|
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/*.so"
|
|
}
|
|
}
|