void-packages/srcpkgs/libbsd/template

29 lines
795 B
Bash

# Template file for 'libbsd'
pkgname=libbsd
version=0.12.2
revision=1
build_style=gnu-configure
makedepends="libmd-devel"
short_desc="Provides useful functions commonly found on BSD system"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC, MIT, Beerware, BSD-2-Clause, BSD-3-Clause, BSD-4-Clause"
homepage="https://libbsd.freedesktop.org/"
distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
checksum=b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a14731014
post_install() {
vlicense COPYING
}
libbsd-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libmd-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man
}
}