summaryrefslogtreecommitdiffstats
path: root/bin/genpkg
AgeCommit message (Collapse)AuthorFilesLines
2012-08-15Notify the user of moding before the fact.Justin Davis1-1/+1
This maybe might make errors easier to understand.
2012-06-15Cleanup pkg/dest when package is not found.Justin Davis1-1/+7
2012-06-15Comment was in the wrong spot.Justin Davis1-2/+3
2012-06-06Better error handling in genpkg's dupver().Justin Davis1-3/+2
2012-06-01Fix error handling when prepkg fails.Justin Davis1-8/+8
Typo fixed in prepkg. Do not duplicate pkgver unless we are going to modify the package. Pipes screw up the error code returned. vervar silently ignores a missing _ver field.
2012-05-31Remove obsolete $templd definition.Justin Davis1-1/+0
2012-05-15Fix DUMB typo in scanfield() inside genpkg.Justin Davis1-1/+1
2012-05-15Duplicate the version in the prepkg step of genpkg.Justin Davis1-3/+5
2012-05-15Inject digests before substituting version strings.Justin Davis1-1/+1
2012-05-14Add feature to replace ver-strings with $pkgver.Justin Davis1-2/+20
Alot of logic was added to allow changing versions in mods while still preserving the version in the $_ver custom variable.
2012-04-22Do not rm the PKGDATA file automatically.Justin Davis1-1/+1
2012-04-21Use test -z just for kicks.Justin Davis1-1/+1
2012-04-21Rename METBIN var to PREPSPATH.Justin Davis1-1/+1
I meant to do this earlier. Oh well.
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 Davis1-1/+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-3/+3
This matches the prepkg script name.
2012-04-16Rename mkpkgmeta script to prepkg.Justin Davis1-1/+1
2012-04-15Switch metas back to printing to stdout.Justin Davis1-6/+4
2012-03-07Change perl-pkgbuild to use new PKGTREE.Justin Davis1-11/+54
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-20/+7
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-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 Davis1-2/+2
2012-01-17Rename makepkgmeta to mkpkgdata.Justin Davis1-7/+9
Use files named PKGDATA instead of files named PKGMETA.
2012-01-16Move metas/ and templ/ under ~/.genpkg.Justin Davis1-3/+4
2012-01-14Better error-checking in genpkg.Justin Davis1-9/+14
2012-01-07Merge changed from other puter.Justin Davis1-10/+13
Fix return value snafus, etc.
2012-01-07Dont ignore makepkgmetas return value.Justin Davis1-1/+4
2011-12-29Fix $tweakd in genpkg.Justin Davis1-1/+1
2011-11-20More fine-tuning of errors and messages.Justin Davis1-2/+6
Cleanup package dirs when meta building fails, in genpkg.
2011-11-20Fix error messages and error codes.Justin Davis1-5/+11
2011-10-22Move main logic from Makefile to bin/genpkg.Justin Davis1-0/+55
Scripts were all reorganized and genpkg is made to be run with all scripts installed under the users home directory. Makefile now is used to install the scripts under the home directory.