msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.3k stars 1.22k forks source link

very old package installer bug with libcello #5915

Closed revelator closed 5 years ago

revelator commented 5 years ago

This bug has been there since this package was added, and while it builds flawlessly the installer puts all files in root...

so heres the fix for the package builder script ->

package() {
  cd $_realname
  # in all this time this bug was still not squashed...
  mkdir -p ${pkgdir}${MINGW_PREFIX}/{bin,include,lib}
  make PREFIX="${pkgdir}${MINGW_PREFIX}" install
  install -Dm644 LICENSE.md "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"
}
Alexpux commented 5 years ago

@revelator thanks, will fix