libdovi: Remove full path reference in pkgconfig file

This commit is contained in:
Biswapriyo Nath
2024-01-21 09:16:01 +00:00
parent ebfe57f92f
commit 91b86e5dff

View File

@@ -5,7 +5,7 @@ _sourcename=dovi_tool-${_realname}
pkgbase=mingw-w64-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
pkgver=3.2.0
pkgrel=2
pkgrel=3
pkgdesc='Library to read and write Dolby Vision metadata (C-API)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
@@ -55,5 +55,8 @@ package() {
--prefix="${MINGW_PREFIX}" \
--destdir="${pkgdir}"
local PREFIX_WIN=$(cygpath -wm ${MINGW_PREFIX})
sed -s "s|${PREFIX_WIN}|${MINGW_PREFIX}|g" -i "${pkgdir}${MINGW_PREFIX}"/lib/pkgconfig/dovi.pc
install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"
}