You are not logged in.

#1 2010-06-14 04:57:58

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

building config pkg...

would like to get into making PKGBUILDs so that I can make a few custom packages... how would I go about building a pkg that is basically a compressed archive of specific files and folders that I'd like overwritten/created upon the package installation?  working on an experimental thing and would like to figure this phase of my project out... Thanks in advance!


Help grow the dev population... have your tech trained and certified!

Offline

#2 2010-06-14 06:16:09

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: building config pkg...

There are a number of pages on the wiki dedicated to writing PKGBUILDS
i.e.:
http://wiki.archlinux.org/index.php/PKGBUILD
http://wiki.archlinux.org/index.php/Creating_Packages
http://wiki.archlinux.org/index.php/Arc … _Standards

If i understand you correct your PKGBUILD will mostly need to use 'cp' or 'install' commands.
When it comes to overwriting files and folders, i'm pretty sure pacman will raise an error.
smile

Offline

Board footer

Powered by FluxBB