libunarr: fix paths in pkg-config file
This commit is contained in:
parent
c29cb15ac1
commit
4523fb567e
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# https://github.com/selmf/unarr/issues/23
|
||||
postPatch = ''
|
||||
substituteInPlace pkg-config.pc.cmake \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/selmf/unarr";
|
||||
description = "A lightweight decompression library with support for rar, tar and zip archives";
|
||||
|
|
Loading…
Reference in a new issue