Here you'll find around 100 tarballs with PkgBuild scripts. These are all software which can be compiled with just GTK/GLIB-1.2.
Most of these are repackaged tarballs.
For many of them I have updated the configuration or Makefiles for successful compilation.
A few of them required minor changes to the source code for compiling
In tarballs where source code has been changed, or very major changes in config files have been made, you|ll find notes which indicate such changes.
Having a look at a few of the PkgBuild scripts will show you how easy it is to write one for nearly any source code package. For software which will compile with just ./configure, make, make install, all you have to give is the name, version and suffix of the tarball to write your script.
The whole script without commmets looks like this:
source /usr/share/Amigo/PkgBuild/FUNCTIONS ;
Or, for more complex control, you can use a step-by-step script which divides the package creation into several steps which you can customize or skip. Again, without comments, it looks like this: