void-packages/srcpkgs/libbsd/template
2019-09-07 14:46:43 +02:00

28 lines
786 B
Bash

# Template file for 'libbsd'
pkgname=libbsd
version=0.10.0
revision=1
build_style=gnu-configure
makedepends="libressl-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=34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887
post_install() {
vlicense COPYING
}
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/man
}
}