From 297ac8db50a2514b8da2c461bc15ede7885e6408 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 22 Feb 2019 11:07:11 +0100 Subject: update-archlinux32-package: learn freebasic --- update-archlinux32-package | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/update-archlinux32-package b/update-archlinux32-package index a698fde..bf5cf56 100755 --- a/update-archlinux32-package +++ b/update-archlinux32-package @@ -92,7 +92,7 @@ case "${pkgname}" in # upstream, though) update_path='archlinuxewe' ;; - 'archiso'|'eclipse'|'flashplugin') + 'archiso'|'eclipse'|'flashplugin'|'freebasic') # an upstream package which is updated by solely updating its checksum update_path='checksum' ;; @@ -215,12 +215,19 @@ case ${update_path} in echo "arch+=(i686)" >> PKGBUILD makepkg -g ' < "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" \ + | sed -n "$( + sed ' + s,^\([^[:space:]=]\+sums\(_[^[:space:]=]\+\)\?=\).*$,/^\1/ p, + t + d + ' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" \ + | sort -u + )" \ | sed ' $! s/$/\\n/ ' | \ tr -d '\n' ) - echo "'$sums'" sed -i ' /^\S\+sums\(_[^=]\+\)\?=(/{ :a -- cgit v1.2.3-54-g00ecf