summaryrefslogtreecommitdiffstats
path: root/metas
AgeCommit message (Collapse)AuthorFilesLines
2012-02-05Start of big rewrite of pkg tweaking.Justin Davis3-109/+240
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-02-05Use new ~/.genpkg dir in scrapecore.Justin Davis1-2/+2
Reads ~/.genpkg/var/cpanmods by default now.
2012-01-21Fix bug where deps on core modules barfed.Justin Davis1-8/+25
https://bugs.archlinux.org/task/27998 This also adds a simple form of tracing that is enabled with the GENDBG environment variable is set to any value.
2012-01-17Better error check/report in genpkg and perl-dist.Justin Davis2-2/+11
metas/perl was not returning the right error. metas/perl.d/perl-dist now reports a better error when ~/.genpkg/var/corelist is missing. genpkg was also not examining the right error code.
2012-01-16Move metas/ and templ/ under ~/.genpkg.Justin Davis4-0/+991