This script arose as a solution for me and it could also be yours:
http://gaia.homelinux.org/salix/slkbuild-postgen/slkbuild-postgen (MD5: http://gaia.homelinux.org/salix/slkbuild-postgen/slkbuild-postgen.md5)
Just feed it with one or multiple SLKBUILDs, wether to add conflicts or suggests files, and it generates one post for you.
The default behaviour is to use .txz as extension and to add both the link to the src file and if the src file exists in the directory of the SLKBUILD its content too.
This can be changed at the beginning of the source by:
- changing EXT to another one
- leaving SRCS empty to remove the content of the src file
- leaving SRC empty to remove the link to the src file
A bit complicated, I know.
Everything apart from that is explained (including an example) in the usage of the script.
Have fun and tell me if you find it as useful as I do.
Updated to version 1.2.2. Some other small fixes.
Updated to version 1.2.1. Invalid SLKBUILDs or non-SLKBUILD are now skipped instead of producing garbled output. Some minor changes apart and md5sums for the download files.
Updated to version 1.2. The script now can handle SLKBUILDs with no arch variable included. This is achieved by implementing 2 guess methods (others could be added) and optionally allowing to pass one or multiple archs for a SLKBUILD by argument. For further information consult the '--help' output.