summaryrefslogtreecommitdiffstats
path: root/setup
AgeCommit message (Collapse)AuthorFilesLines
2012-03-07Change perl-pkgbuild to use new PKGTREE.Justin Davis1-6/+6
Updates genpkg as well. Adds func to genpkg for merging files back together from PKGTREE dir.
2012-02-05Start of big rewrite of pkg tweaking.Justin Davis1-10/+4
The current setup is only really good for modifying PKGBUILD fields. The modification of PKGBUILD funcs is hackish. Instead, the tweaks will be written in a scripting language (like Io) where both PKGBUILD fields and function code can be easily modified. Fields should be able to be modified just like arrays, but with easier package matching going on. PKGBUILD bash functions are simply arrays of lines, but they are not as sophisticated. Instead they can only be appended to. Package files are represented as trees. Each file (PKGBUILD pkg.install) is a child of the top-level node of the tree. Each child of the file node is a section of the file (intro, body, end). Each section can also have its own intro, body, and end node. In this way each bash function is a node with its own intro, body, and end node. Prepending to a function appends to its intro node. Appending to a function appends to its end child node. The body cannot be modified.
2012-01-17setup script echos to stderr now.Justin Davis1-3/+3
2012-01-17Rename makepkgmeta to mkpkgdata.Justin Davis1-2/+2
Use files named PKGDATA instead of files named PKGMETA.
2012-01-16Move metas/ and templ/ under ~/.genpkg.Justin Davis1-5/+4
2012-01-14Use case statement for pattern matching.Justin Davis1-1/+1
2012-01-14Use a script instead of Makefile to install.Justin Davis1-0/+71