You are not logged in.

#1 2009-03-03 20:03:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

creating pacman package under another distro (debian)?

Can someone point me to a guide that teaches how one can make a pacman package/PKGBUILD under a non-Arch distro such as debian?  Is this possible?

Last edited by graysky (2009-03-03 20:31:24)

Offline

#2 2009-03-03 21:16:08

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: creating pacman package under another distro (debian)?

Making the PKGBUILD is no different than writing it in Arch, it's just a text file that contains all the instructions for builidng. If you need more info, the wiki is helpful.

As for building it, it looks like makepkg is a bash script. I haven't had a chance to look it over very carefully, but the simplest case would be if it works just copying the makepkg script and the configuration in /etc/makepkg.conf over to your other system.

Offline

#3 2009-03-03 21:18:32

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: creating pacman package under another distro (debian)?

mcmillan wrote:

As for building it, it looks like makepkg is a bash script. I haven't had a chance to look it over very carefully, but the simplest case would be if it works just copying the makepkg script and the configuration in /etc/makepkg.conf over to your other system.

Correct, except makepkg uses pacman for dependancy checking.  I guess you could run "makepkg -d" to ignore it and then "should" be fine...

Offline

#4 2009-03-03 21:45:32

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: creating pacman package under another distro (debian)?

Cool thanks for the info

Offline

Board footer

Powered by FluxBB