# Template file for 'libbsd'
pkgname=libbsd
version=0.7.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=0f3b0e17e5c34c038126e0a04351b11e23c6101a7d0ce3beeab29bb6415c10bb

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