You are not logged in.
I'm trying to install beef-git. I keep getting this error:
install: cannot create directory ‘/home/gulshan/Downloads/beef-git/pkg’: Permission deniedI get this when installing manually with `makepkg -i` and when using yaourt. Any ideas what the problem is?
Last edited by gsingh93 (2014-09-02 02:13:22)
Offline
An out-of-date and b0rked PKGBUILD, at a glance...
Offline
How can a package that pulls from Git be out of date?
Any tips on fixing the PKGBUILD?
Offline
main tip: you cannot access $pkgdir from the build function. There are many, many other problems with that PKGBUILD, though.
Offline
Any tips on fixing the PKGBUILD?
As Scimmia points out, it is a mess. You could read up on the PKGBUILD and VCS Packaging Guidelines on the wiki to clean it up yourself, or just edit your first post and request that someone else do it for you (all those ruby deps mean I have no interest in trying to build it, sorry).
Offline
I got this working by just cloning the git repo and running `./beef`. I'd like to get the PKGBUILD fixed if it's easy, otherwise I'll just leave it. Since the program is just a ruby script, there is no build process. If all the dependencies are installed, it should just work. My question though is how does one package an application like this? I can't move the `./beef` script outside the source directory because it relies on other modules in there. Is there a standard location I should copy the entire folder to and then symlink to the script in /usr/bin?
Offline
If the program requires the entire dir structure, /opt is usually the best choice. I know very little about ruby, though, so something may be different.
Offline