You are not logged in.
Pages: 1
Greetings,
I would like to ask how does one package something after compiling to enable pacman to keep track of it?
For example one would use rpmbuild in someother distributions to create a package.
The rather extensive info over at the wiki seems to cover ways to automate the entire build process, which is all very overwhelming for a traditional casual user, i.e. './configure, make, install'.
I would just like a simple way to keep pacman updated about my system without learning an entire new compile procedure.
Offline
Look into abs and makepkg.
And I trust you read the Beginner's Guide; make no mistake - being fluent in Linux doesn't mean you don't need to learn about Arch. A new distro means new tools .
Welcome to the forums btw.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Automating the whole build process is the right way to use Arch's tools to package something. It can be very easy. Check some sample PKGBUILDs. An example of a very straightforward on would be the "lzo2" build from core: http://repos.archlinux.org/wsvn/package … k/PKGBUILD
Offline
Thanks for the link and the welcome.
But this method will not install Skype for example.
What is the simplest way to package a directory in this case?
Last edited by Anniekin (2010-03-23 19:05:17)
Offline
Off the top of my head, tar the directory and in the PKGBUILD make it the source. The build function of the PKGBUILD will use install to copy the files from the src to the pkg dir. Use the PKGBUILD of Skype from AUR to understand the details.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
are you trying to install skype, or was that just an example? Skype is already in the community repo, are you having problems with that version? If you're trying to design a PKGBUILD for software 'like' skype, you can check out it's PKGBUILD to see how it installs things.
Offline
Oh I should have mentioned re:Skype that i'm using 64
but tar'ing the directory sounds like a good lead
Offline
There's a bin32-skype package already.
[git] | [AURpkgs] | [arch-games]
Offline
There's a bin32-skype package already.
http://aur.archlinux.org/packages.php?ID=7914
Download and extract the tarball, makepkg and you're done (if you have the dependencies).
Offline
Welcome to Skype call testing service!
Offline
Daenyth wrote:There's a bin32-skype package already.
http://aur.archlinux.org/packages.php?ID=7914
Download and extract the tarball, makepkg and you're done (if you have the dependencies).
actually that would be makepkg -is (that would install the dependencies and install the built package when done, as opposed to just build the package)
Offline
Pages: 1