diff --git a/srcpkgs/libunarr-devel b/srcpkgs/libunarr-devel new file mode 120000 index 00000000000..ae2a15556a7 --- /dev/null +++ b/srcpkgs/libunarr-devel @@ -0,0 +1 @@ +libunarr \ No newline at end of file diff --git a/srcpkgs/libunarr/template b/srcpkgs/libunarr/template new file mode 100644 index 00000000000..768c96c146c --- /dev/null +++ b/srcpkgs/libunarr/template @@ -0,0 +1,28 @@ +# Template file for 'libunarr' +pkgname=libunarr +version=1.0.1 +revision=1 +wrksrc="unarr-${version}" +build_style=cmake +makedepends="zlib-devel bzip2-devel liblzma-devel" +short_desc="A decompression library for rar, tar and zip archives" +maintainer="criw " +license="LGPL-3.0-or-later" +homepage="https://github.com/selmf/unarr" +changelog="https://raw.githubusercontent.com/selmf/unarr/master/CHANGELOG.md" +distfiles="${homepage}/releases/download/v${version}/unarr-${version}.tar.xz" +checksum=54935b1eb30b9a50305f64d38403dab5d2a83e637f48b2b0b118246e260065b5 + +post_install() { + vlicense COPYING +} + +libunarr-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove /usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}