summaryrefslogtreecommitdiffstats
path: root/setup
AgeCommit message (Collapse)AuthorFilesLines
2012-06-01Move scrapecore script. Perl corelist will be bundled now.Justin Davis1-2/+1
The core module list for perl might as well be bundled with genpkg. The setup script will install it to the proper place. The scrapecore script will still be included for completeness but shouldn't have to be used by the user, hopefully.
2012-05-14Add feature to replace ver-strings with $pkgver.Justin Davis1-1/+2
Alot of logic was added to allow changing versions in mods while still preserving the version in the $_ver custom variable.
2012-04-21Fix typo in setup.Justin Davis1-4/+5
Forgot to rename a reference to $t.
2012-04-16Rename tweaks/ to preps/.Justin Davis1-6/+6
Adds GENPKGDBG env variable. Set it to prevent genpkg from removing PKGTREE and PKGDATA.
2012-04-16Rename the metas/ directory to preps/.Justin Davis1-4/+4
This matches the prepkg script name.
2012-04-16Rename mkpkgmeta script to prepkg.Justin Davis1-1/+1
2012-04-16New injectdigs script.Justin Davis1-1/+1
This takes PKGDATA on standard input printing it to standard output. Digests for each file entry in the source array are printed along with the other PKGDATA fields.
2012-04-16Update setup. Remove mergepbfields and rename modpkgmeta.Justin Davis1-1/+1
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