summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-09-20Move "macro" expansion to new script. Simplifies pbjparse.awk.Justin Davis4-113/+97
Use the ! op in perl-cpan instead of running perl-dist separately. Lots of code shuffling.
2011-09-13New addln script adds lines to PKGBUILD funcs. Fix perlbrew's license.Justin Davis1-0/+21
The LICENSE file had to be copied to the standard location. This required the new addln script to be created.
2011-09-10Fix typo that prevented descriptions in POD from being found.Justin Davis1-5/+2
Removes the debugging message that was never triggered, as well.
2011-09-10Use 'perl-dist' instead of $0. The path in $0 is too spammy...Justin Davis1-5/+5
2011-09-09Fix bug in perl-dist where test modules weren't moved the checkdepends.Justin Davis1-9/+4
2011-09-09Remove addsvnid macro. Add the $Id$ tagging to pushpkg.Justin Davis1-5/+0
The pushpkg script is specific to releasing packages on Arch's official repositories. It is more appropriate there and not as a generic macro that I might forget to add. This way I cannot forget to add it.
2011-09-09Many changes to parser. Creates remval, remelem, findval funcs.Justin Davis1-13/+30
Adds the < and > stack operations. < pushes a value that matches its parameter to to the stack. > pops from the stack, storing in the given field. Fix error messages in die(), too.
2011-09-09Remove extra logic when adding optdepends.Justin Davis1-4/+0
Do not remove other deps with the same name anymore.
2011-09-09Make bash quoting smarter. Only double-quote when a parameter is seen.Justin Davis1-7/+12
2011-09-08pbjparse.awk reads the value of PACKAGER on its own, now.Justin Davis1-1/+1
2011-09-08Use the value of the PACKAGER env. var. for the value of "packager".Justin Davis1-1/+5
2011-09-08Minor aesthetic improvements.Justin Davis2-3/+1
2011-09-08Var expansion doesn't work in strings, duh.Justin Davis1-1/+1
2011-09-08Remove redundant clearing of tcmd var.Justin Davis1-1/+0
2011-09-01Create a separate pbcount array to hold the number of field values.Justin Davis1-13/+10
2011-09-01Make sure pkgver and distdir are defined in perl-pkg.Justin Davis1-0/+3
2011-09-01Ignore whitespace and add better error reporting for bad input.Justin Davis1-5/+3
2011-09-01Rename remdep to remval. Create remall, pushval functions.Justin Davis1-16/+22
2011-09-01Add = operation.Justin Davis1-0/+6
2011-09-01Add silly comment for pbjparse's cmd argument.Justin Davis1-1/+1
2011-09-01Minor code cleanup, rename "key" var to "dblkey".Justin Davis1-4/+4
2011-08-30Move var munge-ing to mungevars sub. Add !emptydirs options.Justin Davis1-6/+14
2011-08-30Replace version string in source and _distdir with $pkgver.Justin Davis1-1/+9
2011-08-30Fix quoting problems in pkgdesc and dquote source.Justin Davis1-1/+5
2011-08-21Fix argument shifting in perl-pkg.Justin Davis1-2/+3
2011-08-21Move spaces to beginning of strings in pbfields. Easier to see.Justin Davis1-6/+6
2011-08-21Change pbj to accept multiple argument and loop over them.Justin Davis1-24/+31
2011-08-21Print default perl license until we can autodetect licenses.Justin Davis1-0/+3
2011-08-21Create a main sub for perl-pkg.Justin Davis1-3/+7
2011-08-21Make sure to print _distdir= as extra PB field for perl packages.Justin Davis1-0/+1
2011-08-21Add optdepends to pbfields.Justin Davis1-1/+2
2011-08-21Add joinfields() to pbjparse.awk and fix remdeps to not auto-die.Justin Davis1-15/+22
2011-08-21Fix typo in pbjparse.awk for piping templates together.Justin Davis1-1/+1
2011-08-21Fix command piping in pbjparse.awk.Justin Davis1-1/+1
2011-08-21Adds addsvnid awk script to bin/macros/.Justin Davis1-0/+6
This adds the # $Id$ comment at the bottom of the comment header for PKGBUILDs. Useful for adding PKGBUILDs to the official svn.
2011-08-21Allow overriding of destination PKGBUILD root dir.Justin Davis1-1/+6
2011-08-18Move OFS and ORS to END.Justin Davis1-2/+3
2011-08-18Avoid printing PKGBUILD fields with empty values.Justin Davis1-0/+2
2011-08-18Fix missing double-quotes in pkgdesc output.Justin Davis1-1/+4
2011-08-18Abstract PKGBUILD field printing into separate script: pbfields.Justin Davis2-54/+90
pbfields will recognize any PKGBUILD fields provided in the data passed to STDIN. The fields are printed out to STDOUT as they would appear in the PKGBUILD. Arrays are wordwrapped to fit in 78 columns.
2011-08-16Move name overrides to Convert module and actually use them.Justin Davis1-31/+31
Removes the sdl_perl name override which is defunct.
2011-08-16Set the pkgname in pbj to match the .pbj filename.Justin Davis2-4/+4
2011-08-16Add conflicts array to PKGBUILD.Justin Davis1-1/+2
2011-08-16Let's avoid creating a symlink to itself...Justin Davis1-10/+8
2011-08-16Mimick makepkg's symlinking of tarball to avoid downloading twice.Justin Davis2-7/+19