Merge pull request #2622 from steski/unibilium

unibilium: build_style=gnu-makefile; move man3 to -devel
This commit is contained in:
Juan RP 2015-09-28 16:54:47 +02:00
commit a8b6c498b7
2 changed files with 15 additions and 17 deletions

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
}
}

View file

@ -1,8 +1,8 @@
# Template file for 'unibilium'
pkgname=unibilium
version=1.2.0
revision=1
# build_style="gnu-makefile"
revision=2
build_style=gnu-makefile
hostmakedepends="libtool perl"
short_desc="A simple, self-contained terminfo library"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
@ -21,17 +21,14 @@ do_build() {
make ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}
unibilium-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
}
}