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' # Template file for 'libtermkey'
pkgname=libtermkey pkgname=libtermkey
version=0.17 version=0.17
revision=1 revision=2
build_style=gnu-makefile
hostmakedepends="libtool pkg-config perl" hostmakedepends="libtool pkg-config perl"
makedepends="unibilium-devel" makedepends="unibilium-devel"
short_desc="Library for processing keyboard entry from terminal-based programs" short_desc="Library for processing keyboard entry from terminal-based programs"
@ -20,8 +21,7 @@ do_build() {
make termkey.h libtermkey.la make termkey.h libtermkey.la
} }
do_install() { post_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE vlicense LICENSE
} }
@ -29,9 +29,10 @@ libtermkey-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
} }
} }

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