libtermkey: use build_style=gnu-makefile; move man3 to -devel

This commit is contained in:
Steve Prybylski 2015-09-27 15:30:44 -04:00
parent 04e6045add
commit 04b1b901aa

View file

@ -1,7 +1,8 @@
# Template file for 'libtermkey'
pkgname=libtermkey
version=0.17
revision=1
revision=2
build_style=gnu-makefile
hostmakedepends="libtool pkg-config perl"
makedepends="unibilium-devel"
short_desc="Library for processing keyboard entry from terminal-based programs"
@ -20,8 +21,7 @@ do_build() {
make termkey.h libtermkey.la
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
post_install() {
vlicense LICENSE
}
@ -29,9 +29,10 @@ libtermkey-devel_package() {
short_desc=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/pkgconfig"
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}