You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it was an issue previously but it seems to have come back! i've gone through the pkgbuild and can't seem to see why it's not working, it doesn't pop out any errors when it's installing (ie it says "Installing /var/tmp/pamac-build-conner/berry/pkg/berry-git//usr/local//share//man1/berryc.1 ...") but when I try to "man berry" or "man berryc" it says there's no man files. I even tried putting the latest commit into the pkgbuild so it would build the newest version but no change. I'll just build and install directly from github for now, but a look at the AUR would be nice when you have the time!
The text was updated successfully, but these errors were encountered:
The AUR PKGBUILD explicitly sets mandir to /usr/local//share/ and that's where the Makefile installs it. The correct dirname is /usr/local/share/man, which is where man will look for it.
There are a few problems there, and all of them are with the PKGBUILD.
First, the PKGBUILD does not call configure. Yes, make will do that automatically, but you miss out on being able to set important flags, like --prefix=/usr.
Second, /usr/local is for hand-built executables. Packages should be built for the /usr prefix.
Third, there is no need to manually set mandir, or anything else other than the prefix. It should just be doing
configure --prefix=/usr
make DESTDIR="${pkgdir}" install
I know it was an issue previously but it seems to have come back! i've gone through the pkgbuild and can't seem to see why it's not working, it doesn't pop out any errors when it's installing (ie it says "Installing /var/tmp/pamac-build-conner/berry/pkg/berry-git//usr/local//share//man1/berryc.1 ...") but when I try to "man berry" or "man berryc" it says there's no man files. I even tried putting the latest commit into the pkgbuild so it would build the newest version but no change. I'll just build and install directly from github for now, but a look at the AUR would be nice when you have the time!
The text was updated successfully, but these errors were encountered: