Several points I noticed:
- The wrksrc-line is unneccessary, that is the default
- The makedepends-line is not terminated correctly and it is missing the "ffmpeg-devel" package
- Build in the do_build() function, not in pre_build()
- Usually, calling make yourself like this is unneccessary. It is done automatically by setting the build_style to gnu-make. However, it won't compile like this without a little help:
do_build() {
CFLAGS="-O2 -std=c99" make
}