summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2013-04-11Perl mod pkgbuilds use $_ddir now.Justin Davis1-20/+30
With pacman 4.1 $srcdir is no longer set outside of PKGBUILD functions. Yipee! This breaks all of my PKGBUILDs. Now we switch to storing the distribution's tarballed directory in the _ddir custom variable. We cd into $srcdir/$_ddir at the beginning of every func. Custom variable mechanics have changed in bin/pbfields as well. Instead of hard-coding _dir as an accepted field, any PKGDATA entry with a name starting with underscore (_) is considered a custom variable and printed in the PKGBUILD.
2013-04-11Remove code for obsolete customvars field.Justin Davis1-21/+0
2012-08-15Fix typo bug caused by previous correction of typo...Justin Davis1-1/+1
2012-08-15Notify the user of moding before the fact.Justin Davis1-1/+1
This maybe might make errors easier to understand.
2012-08-15injectdigs will use md5/sha512sum or openssl.Justin Davis1-8/+39
2012-07-22Reorder arguments to "move" modpkg command.Justin Davis1-5/+7
2012-06-15Cleanup pkg/dest when package is not found.Justin Davis2-7/+18
2012-06-15Comment was in the wrong spot.Justin Davis1-2/+3
2012-06-15preps return 100 when they can't find matches.Justin Davis1-1/+1
2012-06-06Better error handling in genpkg's dupver().Justin Davis1-3/+2
2012-06-06Remove old unused tmp var from prepkg.Justin Davis1-1/+0
2012-06-02Fix bug in modpkg's move command.Justin Davis1-1/+1
2012-06-01Fix error handling when prepkg fails.Justin Davis3-14/+10
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-25Quote $(...) command expansion properly in pbfields.Justin Davis1-0/+1
2012-05-25Many changes to get to working order.Justin Davis1-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-25Prefer single quoting to double quoting strings.Justin Davis1-4/+5
2012-05-25Don't store packager and maintainer vars.Justin Davis1-2/+2
2012-05-25Pretty up field init a little bit.Justin Davis1-6/+7
2012-05-25Print custom variables at the end of the fields list.Justin Davis1-4/+6
2012-05-25Simplify comment header printing logic.Justin Davis1-4/+7
2012-05-25Remove old pkgver formatting code.Justin Davis1-4/+0
2012-05-25Fix typo in bashquote function.Justin Davis1-1/+1
2012-05-15Fix typo in vervar.Justin Davis1-1/+1
When using the ver field, the bash variable must be prefixed with an underscore (i.e. $_ver).
2012-05-15Fix DUMB typo in scanfield() inside genpkg.Justin Davis1-1/+1
2012-05-15prepkg should only print to stdout.Justin Davis1-18/+2
2012-05-15Duplicate the version in the prepkg step of genpkg.Justin Davis1-3/+5
2012-05-15Changes to custom vars in mods must persist.Justin Davis1-1/+7
For each var in the customvars PKGDATA field, we must be sure changes to them in a package mod are written to the new PKGDATA stream.
2012-05-15Rename path to dir in vervar script.Justin Davis1-1/+1
2012-05-15Quote fields with <> chars (again).Justin Davis1-1/+1
2012-05-15Inject digests before substituting version strings.Justin Davis1-1/+1
2012-05-15Forgot to add vervar script.Justin Davis1-0/+52
2012-05-14Add feature to replace ver-strings with $pkgver.Justin Davis2-23/+50
Alot of logic was added to allow changing versions in mods while still preserving the version in the $_ver custom variable.
2012-05-13Don't try to seek stdin in scanfields.Justin Davis1-1/+0
2012-05-12Adds setdep command.Justin Davis1-1/+33
Fix bugs when appending to dotinstall files.
2012-05-06TCL version of modpkg seems to be in working order.Justin Davis1-20/+58
2012-05-05Start of tcl rewrite of modpkg.Justin Davis1-332/+102
2012-04-22Do not rm the PKGDATA file automatically.Justin Davis1-1/+1
2012-04-22Add _distdir var to perl PKGBUILDs.Justin Davis1-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-04-21Use test -z just for kicks.Justin Davis1-1/+1
2012-04-21Emit unknown PKGDATA fields unchanged.Justin Davis1-2/+10
Previously unknown fields would be filtered out.
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-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-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 Davis2-1/+1
2012-04-16Remove empty mergepbfields file. I forget what it was for.Justin Davis1-0/+0