PCB holders are great tools ... the end caps can be screwed in. Otherwise, a little glue ought to do the trick. Want a little more insight into what making a part like this involves?