mikkeloscar / gopkgbuild

A golang package for parsing Arch Linux PKGBUILDs
GNU General Public License v3.0
22 stars 5 forks source link

New Patch for makepkg #14

Open Morganamilo opened 6 years ago

Morganamilo commented 6 years ago

I don't know if you follow the pacman-dev mailing list. A new patch came in clarifying the allowed characters in pkgver and arch

-       files should use `arch=('any')`.
+       files should use `arch=('any')`. Valid characters for members of this array
+       are alphanumerics and ```_`''.
-       The variable is not allowed to contain colons, forward slashes or hyphens.
+       The variable is not allowed to contain colons, forward slashes, hyphens
+       or whitespace.

I also mentioned in #4 that makepkg was a little broken and allowing pkgvers with whitespace. This also fixes that.

The patch has just been submitted, not accepted. Regardless it looks like some clarification that is needed. I'll hold out until this patch is finalised and accepted to actually implement it here. Just wanted to give a heads up.

mikkeloscar commented 6 years ago

Cheers for that. I missed this myself!