On 1/6/24 11:36, Doug Newgard wrote:
    mv "$pkgdir/usr/local/"* "$pkgdir/usr"
    rm -r "$pkgdir/usr/local"
Can you not set a prefix? This step should not normally necessary.

Yes it can,

  I was reading the cmake documentation wrong:

build() {
  cd "${srcdir}/$_gitname/build"
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

  That takes care of the /usr issue -- now the sbin issue is all that remains.


--
David C. Rankin, J.D.,P.E.

Reply via email to