diff --git a/common/shlibs b/common/shlibs index b4bef942b69..cda02e89991 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3162,6 +3162,7 @@ libvtkRenderingVolumeOpenGL2-8.1.so.1 vtk-8.1.0_1 libvtkViewsContext2D-8.1.so.1 vtk-8.1.0_1 libvtkViewsInfovis-8.1.so.1 vtk-8.1.0_1 libvolume_key.so.1 volume_key-0.3.9_1 +librand48_r.so.0 rand48_r-0.1_1 libxxhash.so.0 libxxHash-0.6.5_2 libfwup.so.1 libfwup-11_1 libcapnp_c.so.0 c-capnproto-0.3_1 diff --git a/srcpkgs/rand48_r-devel b/srcpkgs/rand48_r-devel new file mode 120000 index 00000000000..e46e8f48718 --- /dev/null +++ b/srcpkgs/rand48_r-devel @@ -0,0 +1 @@ +rand48_r \ No newline at end of file diff --git a/srcpkgs/rand48_r/template b/srcpkgs/rand48_r/template new file mode 100644 index 00000000000..15dae6b4799 --- /dev/null +++ b/srcpkgs/rand48_r/template @@ -0,0 +1,27 @@ +# 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 " +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 + } +}