LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Arch equivalent for "Slacker" makepkg or src2pkg (https://www.linuxquestions.org/questions/arch-29/arch-equivalent-for-slacker-makepkg-or-src2pkg-792029/)

Alexvader 02-27-2010 05:15 PM

Arch equivalent for "Slacker" makepkg or src2pkg
 
Hi

How do I make a package from something that I have compiled, yet is is not in AUR...?

Sort of ./configure --prefix=~/build/usr/local, make, make install, how do I grab the contents of build to turn them into an installable Arch package, like I do with Slackware makepkg or src2pkg/trackinstall...?

BRGDS

Alex

~sHyLoCk~ 02-27-2010 08:00 PM

Check out the wiki for how to create a PKGBUILD. Basically the configure and all the install commands should go into the build() function. ;-)

reed9 02-27-2010 08:40 PM

Yup, everything you need is in the Wiki. Arch PKGBUILDs are not dissimilar to slackbuilds or ebuilds. (I personally think they are more straightforward than slackbuilds, though.)

http://wiki.archlinux.org/index.php/PKGBUILD
http://wiki.archlinux.org/index.php/...ging_Standards
http://wiki.archlinux.org/index.php/Makepkg


All times are GMT -5. The time now is 04:24 PM.