I believe you can do this using the svn:externals property. I have the following repository layout
[root]
The manyfiles directory contains 5 different files. The somefiles directory contains none, however it has the svn:externals property set to point to each of the files needed for the installation script (1file, 3file, 5file):
$ svn proplist -v somefiles
Properties on 'somefiles':
svn:externals
^/manyfiles/1file 1file
^/manyfiles/3file 3file
^/manyfiles/5file 5file
I can now do
$ svn export REPOPATH/somefiles
This will give me a directory tree containing the requested files:
Of course this means that you now have two places to maintain your build scripts; both the actual script do to the build process and the svn:externals property. You must decide if the additional burden of splitting out the file list to SVN is worth the effort. (You could potentially have the directory "somefiles" in the repository without the svn:externals property, check it out as a working copy, set the svn:externals property as part of the script and do an svn up to get all the files).
Kind regards,
Daniel Sahlberg