diff --git a/common/shlibs b/common/shlibs index 81b1064501..ab74a1fd25 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4101,3 +4101,4 @@ libkmailconfirmbeforedeleting.so.5 kdepim-addons-21.08.3_1 libkaddressbookprivate.so.5 kaddressbook-21.08.3_1 libcodec2.so.1.0 codec2-1.0.1_1 libx86emu.so.3 libx86emu-3.4_1 +libdeflate.so.0 libdeflate-1.8_1 diff --git a/srcpkgs/libdeflate-devel b/srcpkgs/libdeflate-devel new file mode 120000 index 0000000000..e29c9946ff --- /dev/null +++ b/srcpkgs/libdeflate-devel @@ -0,0 +1 @@ +libdeflate \ No newline at end of file diff --git a/srcpkgs/libdeflate/template b/srcpkgs/libdeflate/template new file mode 100644 index 0000000000..865b442a37 --- /dev/null +++ b/srcpkgs/libdeflate/template @@ -0,0 +1,28 @@ +# Template file for 'libdeflate' +pkgname=libdeflate +version=1.9 +revision=1 +build_style=gnu-makefile +make_build_args="PROG_SUFFIX=libdeflate" +checkdepends="zlib-devel" +short_desc="Optimized library for DEFLATE/zlib/gzip (de)compression" +maintainer="mobinmob " +license="MIT" +homepage="https://github.com/ebiggers/libdeflate" +distfiles="https://github.com/ebiggers/libdeflate/archive/refs/tags/v${version}.tar.gz" +checksum=a537ab6125c226b874c02b166488b326aece954930260dbf682d88fc339137e3 + +post_install() { + vlicense COPYING +} + +libdeflate-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove "/usr/lib/pkgconfig" + } +}