summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-04-21Emit unknown PKGDATA fields unchanged.Justin Davis1-2/+10
Previously unknown fields would be filtered out.
2012-04-21Use the GENPKGDBG var in perl-dist.Justin Davis1-1/+1
2012-04-21Fix modpkg typo. Don't use old fieldVals method.Justin Davis1-5/+4
Also fixes the number of space in the indent. I remember that two is preferred.
2012-04-21Rename METBIN var to PREPSPATH.Justin Davis2-7/+7
I meant to do this earlier. Oh well.
2012-04-21Fix the perlbrew mod.Justin Davis1-3/+5
Replace the license, dont just add to it. Append to the package() func in one fell swoop.
2012-04-21Make missing cpanmods message friendlier.Justin Davis1-0/+3
Scrapecore needs ~/.genpkg/var/cpanmods data to exist. When it is missing try to give a friendlier error message.
2012-04-21Make missing coremods message friendlier.Justin Davis1-7/+11
Use the PREPSPATH env variable to tell the user exactly where the scrapecore script is located.
2012-04-21Change METABIN var to PREPSPATH.Justin Davis20-40/+33
genpkg uses this to tell prepkg where the preparer scripts are located.
2012-04-21PkgDataFields are now just Lists.Justin Davis1-28/+24
Since fields are basically just lists of PkgDataFieldVal objects we can use lists. This makes assigning to fields easier in modifier scripts. For example: license = list("GPL2", "LGPL2.1")
2012-04-21Fix typo in setup.Justin Davis1-4/+5
Forgot to rename a reference to $t.
2012-04-21Add modpkg call to genpkg.Justin Davis1-8/+13
Rename mention of tweaks to mods.
2012-04-16Generate .install files from genpkg as well.Justin Davis1-3/+33
2012-04-16Rename tweaks/ to preps/.Justin Davis23-7/+12
Adds GENPKGDBG env variable. Set it to prevent genpkg from removing PKGTREE and PKGDATA.
2012-04-16Rename the metas/ directory to preps/.Justin Davis7-9/+9
This matches the prepkg script name.
2012-04-16Rename mkpkgmeta script to prepkg.Justin Davis3-2/+2
2012-04-16Remove empty mergepbfields file. I forget what it was for.Justin Davis1-0/+0
2012-04-16Remove digest calculation from perl-dist.Justin Davis1-24/+0
2012-04-16New injectdigs script.Justin Davis2-1/+60
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-04-16modpkg now seems to be in mostly working order.Justin Davis1-18/+273
2012-04-15Switch metas back to printing to stdout.Justin Davis3-12/+5
2012-04-15Fix typo which adds misplaced perl code to PKGBUILD.Justin Davis2-2/+0
2012-03-07Change perl-pkgbuild to use new PKGTREE.Justin Davis6-129/+199
Updates genpkg as well. Adds func to genpkg for merging files back together from PKGTREE dir.
2012-03-05Make pkgtree scripts simpler still.Justin Davis3-63/+21
2012-03-05Replace old pkgtree scripts with new simpler ones.Justin Davis5-125/+88
2012-02-24Start dir-based package trees. Adds catpkgtree.Justin Davis1-0/+67
2012-02-13Start of Io version of modpkgmeta.Justin Davis1-0/+74
2012-02-05Start of big rewrite of pkg tweaking.Justin Davis14-533/+376
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-21Force perl-http-message dep to be >= 6.Justin Davis1-0/+2
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-17Change output of genpkg to be less spammy.Justin Davis1-3/+5
Move message about tweaking the PKGDATA to stderr.
2012-01-17Renamed makepkgbuild to mkpkgbuild.Justin Davis2-3/+3
2012-01-17setup script echos to stderr now.Justin Davis1-3/+3
2012-01-17Better error check/report in genpkg and perl-dist.Justin Davis4-10/+17
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-17Rename makepkgmeta to mkpkgdata.Justin Davis5-36/+46
Use files named PKGDATA instead of files named PKGMETA.
2012-01-16Fix hard-coded directories in makepkgbuild.Justin Davis1-6/+6
2012-01-16Move metas/ and templ/ under ~/.genpkg.Justin Davis8-8/+8
2012-01-14Remove pkg directory.Justin Davis1-1/+0
2012-01-14Use sub-shells in perl PKGBUILDs.Justin Davis1-8/+8
2012-01-14Use case statement for pattern matching.Justin Davis1-1/+1
2012-01-14Keep epoch in perl-anyevent forever.Justin Davis1-1/+1
2012-01-14Use a script instead of Makefile to install.Justin Davis2-15/+71
2012-01-14Explicit return value in templ/perk-pkg.Justin Davis1-1/+2
2012-01-14Hardcode templates dir. No pipelines in template cmd.Justin Davis1-35/+23
2012-01-14Better error-checking in genpkg.Justin Davis1-9/+14
2012-01-14Fix missing $forcechk var. Cleanup.Justin Davis1-19/+23
Make sure return values are consistent. Use err func when appropriate.
2012-01-07Merge changed from other puter.Justin Davis5-47/+77
Fix return value snafus, etc.
2012-01-07Add name overrides for packages that bend the rules.Justin Davis1-3/+7
2012-01-07Dont ignore makepkgmetas return value.Justin Davis1-1/+4