void-packages/srcpkgs/rand48_r/template

28 lines
676 B
Bash

# Template file for 'rand48_r'
pkgname=rand48_r
version=0.2
revision=1
archs="*-musl"
build_style=meson
short_desc="DRAND48_R(3) implementation for musl libc"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://github.com/Johnnynator/rand48_r"
distfiles="https://github.com/Johnnynator/rand48_r/archive/${version}.tar.gz"
checksum=ed819b402aff641f98b2ab32bf105ba15f5178725d9e63eb6bcc67d2243c3d8b
post_install() {
vlicense COPYRIGHT
}
rand48_r-devel_package() {
short_desc+=" - development files"
depends="rand48_r>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/include
}
}