You can download the tar file for an existing plugin from the following link:
www.go-evolution.org/EPlugin
Then untar this file. Rename and modify source files in src/ directory. Add appropriate entries in src/Makefile.am and configure.ac. Then, regenerate the configure shell script using autogen.sh