There seems to be a issues with packages that exclude the package() function. Please update the PKGBUILD. I've manage to get packages with this issue working by using the PKGBUILD format found in the "perl-gtk2-gladexml-simple" package.