updpkgsums gives error about pkgver and pkgrel?
I'm trying to create a PKGBUILD for a small Python app I made. I have no intention as of now to actually submit this to the AUR, I just wanted to get a feel for the process.
The PKGBUILD is (as far as I know) constructed except for the md5sums. When I try to add these with updmd5sums, I get the following error:
==> ERREUR : n’est pas disponible pour l’architecture « x86_64 ».
==> ERREUR : pkgrel ne peut pas être vide.
==> ERREUR : pkgver ne peut pas être vide.
Translation:
"Not available for x86_64 architecture."
"pkgrel cannot be empty."
"pkgver cannot be empty."
My PKGBUILD is here: https://paste.ubuntu.com/15023991/
There are no errors in it as far as I can tell. The only other case of this error that I found through Google was caused by the guy using single quotes instead of double on the source var, but that clearly isn't the issue here.
Does anyone see what I'm missing? Thanks!
Posted Feb 12, 2016, 1:28 PM UTC
You have
depends=('python', 'python-pyinsane')but bash arrays don't actually use commas. Remove that comma and see if it works.Thanks for the correction! This is the first time I've really used bash as a scripting language.
Unfortunately, the error remains unchanged.