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

This commit is contained in:
Steve Prybylski 2015-09-27 15:23:41 -04:00
parent 5b2460a418
commit 04e6045add

View file

@ -1,8 +1,8 @@
# Template file for 'unibilium' # Template file for 'unibilium'
pkgname=unibilium pkgname=unibilium
version=1.2.0 version=1.2.0
revision=1 revision=2
# build_style="gnu-makefile" build_style=gnu-makefile
hostmakedepends="libtool perl" hostmakedepends="libtool perl"
short_desc="A simple, self-contained terminfo library" short_desc="A simple, self-contained terminfo library"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>" maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
@ -21,17 +21,14 @@ do_build() {
make ${makejobs} make ${makejobs}
} }
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}
unibilium-devel_package() { unibilium-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove "usr/include" vmove usr/include
vmove "usr/lib/*.a" vmove usr/lib/*.a
vmove "usr/lib/*.so" vmove usr/lib/*.so
vmove "usr/lib/pkgconfig" vmove usr/lib/pkgconfig
vmove usr/share/man/man3
} }
} }