# Template file for 'libbsd'
pkgname=libbsd
version=0.6.0
revision=1
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
long_desc="
 This library provides useful functions commonly found on BSD systems, and
 lacking on others like GNU systems, thus making it easier to port projects
 with strong BSD origins, without needing to embed the same code over and
 over again on each project."

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