You are not logged in.
Pages: 1
Hi,
I have installed a package with pacman, now I want to compile it with different options.
How can I do that?
Offline
Run abs as root then check for the folder corresponding to your package somewhere in some subfolder in /var/abs/
then copy that folder to your desktop. Inside it is a PKGBUILD file which you can edit to change your options. then cd to the folder on you desktop in a terminal and run makepkg
Last edited by hussam (2007-09-10 11:48:36)
Offline
I'm presuming you mean a package that ABS will find. Plus the build options at ./configure time.
If this is the case, use abs copy the said pkgbuild to your build environment, modify the PKGBUILD to reflect the changes, i.e if a configure flag add it.
Then use abs as normal http://wiki.archlinux.org/index.php/ABS if a non ABS package then you have to create the PKGBUILD first but the same principles apply.
Offline
OK, it's done, many thanks.
However, what happens when my program is updated?
I had preferred, for example, an aur_user.conf file to list my options for each program I want to cuztomize.
Offline
Have a look at srcpac.
Also, as you are suggesting an 'aur_user.conf' file, allow me to clarify - the data in your abs tree relates to the packages provided by the official Arch repos. The AUR is an Arch project enabling users to share PKGBUILDs they create themselves i.e. 'unofficial' packaging efforts.
Offline
Pages: 1