The regular expression is unable to handle the fact that a # appears inside of a quoted string, as in line 118 of the PKGBUILD:
_pkgver="$(awk '/#define SLIC3R_VERSION/ {gsub(/"/, "", $3); print $3 }' ./xs/src/libslic3r/libslic3r.h).$(git rev-parse --short HEAD)"
Line 158 of customizepkg: eval $(grep -Po '^[[:blank:]]_?(pkg.|name)=[^#](?= #|$)' ./PKGBUILD)
fails on the slic3r-git package: https://aur4.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=slic3r-git
The regular expression is unable to handle the fact that a # appears inside of a quoted string, as in line 118 of the PKGBUILD: _pkgver="$(awk '/#define SLIC3R_VERSION/ {gsub(/"/, "", $3); print $3 }' ./xs/src/libslic3r/libslic3r.h).$(git rev-parse --short HEAD)"
Any chance we can get this sorted?