28 lines
674 B
Bash
28 lines
674 B
Bash
|
# Template file for 'rand48_r'
|
||
|
pkgname=rand48_r
|
||
|
version=0.1
|
||
|
revision=1
|
||
|
archs="*-musl"
|
||
|
build_style=meson
|
||
|
short_desc="DRAND48_R(3) implementation for musl libc"
|
||
|
maintainer="John <johnz@posteo.net>"
|
||
|
license="MIT"
|
||
|
homepage="https://github.com/Johnnynator/rand48_r"
|
||
|
distfiles="https://github.com/Johnnynator/rand48_r/archive/${version}.tar.gz"
|
||
|
checksum=9a8f3df235b13d8dcac0ef5b3e7c7fd7cf835ba0216530bb8a10a05c9aa39a25
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|