summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2012-02-05Start of big rewrite of pkg tweaking.Justin Davis9-293/+231
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 Davis2-3/+3
2012-01-17Better error check/report in genpkg and perl-dist.Justin Davis2-8/+6
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 Davis4-34/+44
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 Davis1-3/+4
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-07Merge changed from other puter.Justin Davis2-22/+23
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 Davis2-3/+9
Cleanup package dirs when meta building fails, in genpkg.
2011-11-20Fix error messages and error codes.Justin Davis2-16/+18
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.
2011-10-21Create lib/ directory for meta generator and template scripts.Justin Davis5-932/+0
2011-10-20Move test deps in makedepends to checkdepends, too.Justin Davis1-11/+15
2011-10-20Rewrite alot of makepkgbuild.Justin Davis1-57/+54
2011-10-17Bugfix for fetching cpan files.Justin Davis2-14/+14
Minor style fixes. Remove extra whitespace. Use metacpan.org for url.
2011-10-16Typo fix. Extra single quote.Justin Davis1-1/+1
2011-10-11Rework perl.d/cpandists to list modules as well.Justin Davis3-43/+94
Restyle metas/perl slightly. Use the new files generated by cpandists. Rewrite metas/perl.d/perl-dist to try to read through the cpanmods file as little as possible.
2011-10-11Include dependencies on core perl modules. Use the new provides list.Justin Davis1-26/+0
2011-10-08Write error messages to stderr in makepkgmeta.Justin Davis1-2/+4
2011-10-08Add forgotten feature: replace version string with ${pkgver} in source.Justin Davis1-17/+59
2011-10-08Start changing style of perl-pkg. Use tabs for data indent.Justin Davis1-12/+11
2011-10-08Change style of pbfields. Use tabs to indent.Justin Davis1-58/+56
2011-10-08Fix license bug in perl-dist.Justin Davis1-1/+1
2011-10-07Tweak perl-dist. Add !emptydirs option.Justin Davis1-1/+2
Add -f flag to rm -r pkg/$pkg/src.
2011-10-07Remove src/ dir from package dir each time.Justin Davis1-2/+3
2011-10-07Fix bug with ksh expanding newline in dquotes.Justin Davis1-2/+2
2011-10-07Allow for a MAINTAINER env. variable to override PACKAGER.Justin Davis2-3/+11
2011-10-07Reformat perl-dist perl script. Trying out a new style.Justin Davis1-357/+342
2011-09-25Store the packager in the PKGMETA even if we don't use a PKGTWEAK.Justin Davis2-8/+3
2011-09-25Implement prepending to PKGBUILD functions.Justin Davis1-6/+30
2011-09-22Fix internal program name in metas/perl.Justin Davis1-1/+1
2011-09-22Remember to print pkgname and pkgrel in makepkgmeta.Justin Davis1-0/+2
2011-09-22Avoid quoting differences in makepkgbuild.Justin Davis1-1/+1
2011-09-22Merge branch 'master' of github.com:juster/pbjamJustin Davis4-103/+2
2011-09-22Do not download CPAN dists if it already exists in the CWD.Justin Davis2-3/+10
2011-09-22Remove debugging output from makepkgbuild and from perl-dist.Justin Davis2-11/+10
2011-09-22Check to see if packages are for App::foo modules.Justin Davis1-1/+2
2011-09-22Add PKGBUILD function editing to makepkgbuild.Justin Davis1-7/+34
2011-09-22Remove old scripts that are obsolete.Justin Davis3-102/+0
2011-09-21Fix typo with index in findval.Justin Davis1-1/+2
2011-09-21Remove dists data file I accidentally added.Justin Davis1-22299/+0
2011-09-21Refinish PKGBUILD generation.Justin Davis3-19/+41
Adds makepkgbuild script. The call to pbfields is moved from perl-pkg to makepkgbuild. pbfields prints the PKGBUILD header now, too. makepkgbuild is called from the Makefile with the proper env var set. Pretty close to 100% working again.
2011-09-21Add PKGMETA tweaking to Makefile. Update newly named tweakmeta script.Justin Davis1-73/+71
The process of reading "tweak" files is now much simpler. The Makefile merely looks to see if a package we are building has an entry in our "tweaks" directory. If so, it tweaks the PKGMETA file. Sort of like a patch only much simpler.
2011-09-21Forgot to add cpandists file for fetching CPAN dist list.Justin Davis1-1/+1
2011-09-21Call anything pbj related "tweaks", now.Justin Davis1-0/+0
Rename pbjparse.awk to tweakmeta. Make it executable. Rename pbj/ to tweaks. Remove .pbj suffix from files.
2011-09-20Begin restructuring. Creates Makefile, etc.Justin Davis6-39/+22467
bin/macros were moved to bin/metas. perl-cpan renamed to simply perl. Supporting scripts for perl-cpan moved to bin/metas/perl.d. No longer use the webpage to look up dists, we maintaing our own simple list of CPAN distributions. Unlike before, scripts in metas/ generate the data file and not the file parsed by pbjparse.awk.