You are not logged in.
Pages: 1
Trying to install snack
http://aur.archlinux.org/packages.php?ID=6927
There are 2 patches and im not sure how to use them. All info i read was related to using patches by editing the PKGBUILD file. But this is a from source compilation. I checked the configure file and didnt see any entries for it. Could someone give me an explanation?
Last edited by leetstalker (2009-12-24 15:51:29)
Offline
Your explanation is confusing. If you pull all the stuff from the AUR, then why would you install from source?
What you pull from the AUR is a blueprint for the package. You build it, you install it. If you install from source, you might as well skip the AUR part.
If you are building the package, then you shouldn't worry about the patches. If you look at the PKGBUILD you'll see they're applied in the process.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Well, just download the source tar.gz and those two patches and the PKGBUILD in the same directory and run:
makepkg -s PKGBUILD
Last edited by sHyLoCk (2009-12-24 15:44:03)
Offline
While researching the compile error i came to the AUR page and assumed the patches applied to the same process. I will try the AUR method. Thank You.
Offline
The patches are implemented within the PKGBUILD you don't need to do anything else manually:
patch < ../../configure.patch || return 1
patch < ../../alsa.patch || return 1
Offline
The AUR comes with the patches and installed nicely except for makepkg -s wasnt sudoing. I just created the dirs it needed with read/write perms and it installed fine. makepkg -s has worked up until this point so not sure why it didint this time. Thanx guys.
Offline
I don't remember the exact makepkg command, I'm not on Arch right now, man makepkg for understanding which switch to use, I think -p is used to build the packages and -s is used to download necesary depepndencies and then build the package.
Regards
Offline
Pages: 1