Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-05-25 | Quote $(...) command expansion properly in pbfields. | Justin Davis | 1 | -0/+1 | |
2012-05-25 | Many changes to get to working order. | Justin Davis | 1 | -28/+44 | |
Tried to normalize style. Renames alot of things. Uses variables to make things easier on the eyes. Fix bugs that I introduced: - pkgdesc does not expand parameters - array fields not printing - generally bad logic in quoting | |||||
2012-05-25 | Prefer single quoting to double quoting strings. | Justin Davis | 1 | -4/+5 | |
2012-05-25 | Don't store packager and maintainer vars. | Justin Davis | 1 | -2/+2 | |
2012-05-25 | Pretty up field init a little bit. | Justin Davis | 1 | -6/+7 | |
2012-05-25 | Print custom variables at the end of the fields list. | Justin Davis | 1 | -4/+6 | |
2012-05-25 | Simplify comment header printing logic. | Justin Davis | 1 | -4/+7 | |
2012-05-25 | Remove old pkgver formatting code. | Justin Davis | 1 | -4/+0 | |
2012-05-25 | Fix typo in bashquote function. | Justin Davis | 1 | -1/+1 | |
2012-05-15 | Quote fields with <> chars (again). | Justin Davis | 1 | -1/+1 | |
2012-05-14 | Add feature to replace ver-strings with $pkgver. | Justin Davis | 1 | -21/+30 | |
Alot of logic was added to allow changing versions in mods while still preserving the version in the $_ver custom variable. | |||||
2012-04-22 | Add _distdir var to perl PKGBUILDs. | Justin Davis | 1 | -6/+24 | |
pbfields now recognizes a customvars field which names other fields it should print in the PKGBUILD header. These field names are prefixed with an underscore ("_"). | |||||
2012-02-05 | Start of big rewrite of pkg tweaking. | Justin Davis | 1 | -0/+99 | |
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. |