From bcf69d3a199583a051103c0a72ed300cd2101e22 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 10 May 2018 18:26:13 +0200 Subject: [PATCH] zstd-devel: transitional dummy package now This is necessary because of #12953. --- srcpkgs/zstd-devel | 1 + srcpkgs/zstd/template | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/zstd-devel diff --git a/srcpkgs/zstd-devel b/srcpkgs/zstd-devel new file mode 120000 index 00000000000..613f917fd7c --- /dev/null +++ b/srcpkgs/zstd-devel @@ -0,0 +1 @@ +zstd \ No newline at end of file diff --git a/srcpkgs/zstd/template b/srcpkgs/zstd/template index 810b30b769a..cc73fdc6ef7 100644 --- a/srcpkgs/zstd/template +++ b/srcpkgs/zstd/template @@ -1,7 +1,7 @@ # Template file for 'zstd' pkgname=zstd version=1.3.4 -revision=2 +revision=3 short_desc="Fast real-time compression algorithm - CLI tool" maintainer="Michael Gehring " makedepends="zlib-devel liblzma-devel" @@ -32,11 +32,12 @@ do_install() { libzstd_package() { short_desc="Fast real-time compression algorithm" pkg_install() { - vmove "/usr/lib/*.so.*" + vmove "usr/lib/*.so.*" } } libzstd-devel_package() { + replaces="zstd-devel<${version}_${revision}" short_desc="Fast real-time compression algorithm - development files" depends="libzstd-${version}_${revision}" pkg_install() { @@ -44,6 +45,11 @@ libzstd-devel_package() { vmove usr/lib/pkgconfig vmove "usr/lib/*.so" vmove "usr/lib/*.a" - vlicense LICENSE } } + +zstd-devel_package() { + build_style=meta + short_desc="Fast real-time compression algorithm - development files (transitional dummy package)" + depends="libzstd-devel>=${version}_${revision}" +}