I changed the makepkg.conf and set the BUILDENV sign and the GPGKEY. Right now I can make signed packages, but the problem is that when I am trying to add the packages and sign the database it shows an error.
This is what I do:
repo-add --verify --sign databasename.db.tar.gz *pkg.tar.xz
Shows at the end: Error signing database
Thanks
]]>