zstd-devel: transitional dummy package now

This is necessary because of #12953.
This commit is contained in:
Alessio Sergi 2018-05-10 18:26:13 +02:00
parent 44019c0095
commit bcf69d3a19
2 changed files with 10 additions and 3 deletions

1
srcpkgs/zstd-devel Symbolic link
View file

@ -0,0 +1 @@
zstd

View file

@ -1,7 +1,7 @@
# Template file for 'zstd' # Template file for 'zstd'
pkgname=zstd pkgname=zstd
version=1.3.4 version=1.3.4
revision=2 revision=3
short_desc="Fast real-time compression algorithm - CLI tool" short_desc="Fast real-time compression algorithm - CLI tool"
maintainer="Michael Gehring <mg@ebfe.org>" maintainer="Michael Gehring <mg@ebfe.org>"
makedepends="zlib-devel liblzma-devel" makedepends="zlib-devel liblzma-devel"
@ -32,11 +32,12 @@ do_install() {
libzstd_package() { libzstd_package() {
short_desc="Fast real-time compression algorithm" short_desc="Fast real-time compression algorithm"
pkg_install() { pkg_install() {
vmove "/usr/lib/*.so.*" vmove "usr/lib/*.so.*"
} }
} }
libzstd-devel_package() { libzstd-devel_package() {
replaces="zstd-devel<${version}_${revision}"
short_desc="Fast real-time compression algorithm - development files" short_desc="Fast real-time compression algorithm - development files"
depends="libzstd-${version}_${revision}" depends="libzstd-${version}_${revision}"
pkg_install() { pkg_install() {
@ -44,6 +45,11 @@ libzstd-devel_package() {
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove "usr/lib/*.a" 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}"
}