bugfix: redeclare setup() in eupspkg-generated build.sh

Commit 119236b stopped exporting setup() and unsetup() functions. We
therefore have to redeclare them when generating the eupspkg build script.