@@ -133,26 +133,26 @@ jobs:
133133 -e "s/sha256sums_i686=('SKIP')/sha256sums_i686=('${SHA_I686}')/" \
134134 aur/PKGBUILD > /tmp/aur-cpp-gen-bin/PKGBUILD
135135
136- # ── Generate .SRCINFO ──────────────────────────────────────── ────────
137- cat > /tmp/aur-cpp-gen-bin/.SRCINFO << EOF
138- pkgbase = cpp-gen-bin
139- pkgdesc = Modern C++ project generator with CMake, package managers, IDE configurations and development tools
140- pkgver = ${VERSION}
141- pkgrel = 1
142- url = https://github.com/matpdev/cpp-gen
143- arch = x86_64
144- arch = i686
145- license = MIT
146- provides = cpp-gen
147- conflicts = cpp-gen
148- options = !strip
149- source_x86_64 = cpp-gen-bin-${VERSION} -x86_64.tar.gz::https://github.com/matpdev/cpp-gen/releases/download/v${VERSION} /cpp-gen_${VERSION}_linux_amd64 .tar.gz
150- sha256sums_x86_64 = ${SHA_X86_64}
151- source_i686 = cpp-gen-bin-${VERSION} -i686.tar.gz::https://github.com/matpdev/cpp-gen/releases/download/v${VERSION} /cpp-gen_${VERSION}_linux_386 .tar.gz
152- sha256sums_i686 = ${SHA_I686}
153-
154- pkgname = cpp-gen-bin
155- EOF
136+ # ── Generate .SRCINFO (printf \t avoids literal tabs in YAML) ────────
137+ {
138+ printf ' pkgbase = cpp-gen-bin\n'
139+ printf '\tpkgdesc = Modern C++ project generator with CMake, package managers, IDE configurations and development tools\n'
140+ printf '\tpkgver = %s\n' " ${VERSION}"
141+ printf '\tpkgrel = 1\n'
142+ printf '\turl = https://github.com/matpdev/cpp-gen\n'
143+ printf '\tarch = x86_64\n'
144+ printf '\tarch = i686\n'
145+ printf '\tlicense = MIT\n'
146+ printf '\tprovides = cpp-gen\n'
147+ printf '\tconflicts = cpp-gen\n'
148+ printf '\toptions = !strip\n'
149+ printf '\tsource_x86_64 = cpp-gen-bin-%s -x86_64.tar.gz::https://github.com/matpdev/cpp-gen/releases/download/v%s /cpp-gen_%s_linux_amd64 .tar.gz\n' "${VERSION}" "${VERSION}" "${VERSION}"
150+ printf '\tsha256sums_x86_64 = %s\n' " ${SHA_X86_64}"
151+ printf '\tsource_i686 = cpp-gen-bin-%s -i686.tar.gz::https://github.com/matpdev/cpp-gen/releases/download/v%s /cpp-gen_%s_linux_386 .tar.gz\n' "${VERSION}" "${VERSION}" "${VERSION}"
152+ printf '\tsha256sums_i686 = %s\n' " ${SHA_I686}"
153+ printf '\n'
154+ printf ' pkgname = cpp-gen-bin\n'
155+ } > /tmp/aur-cpp-gen-bin/.SRCINFO
156156
157157 # ── Copy LICENSE ─────────────────────────────────────────────────────
158158 cp aur/LICENSE /tmp/aur-cpp-gen-bin/LICENSE
0 commit comments