# Template file for 'libbsd'
pkgname=libbsd
version=0.6.0
revision=2
build_style=gnu-configure
short_desc="Provides useful functions commonly found on BSD system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://libbsd.freedesktop.org/"
license="BSD"
distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
checksum=9e8f34ffa9c8579c87965a55a82d8ac37a1dc64858f717b7c49452ade277cc62

libbsd-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/share
	}
}
