summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-22 11:07:11 +0100
committerErich Eckner <git@eckner.net>2019-02-22 11:07:11 +0100
commit297ac8db50a2514b8da2c461bc15ede7885e6408 (patch)
treeb46881f981fd0c2f6b0053d68efbfac465c93700
parentd3fec099a945516322286cfd05e305ab819b721d (diff)
downloaddevops-297ac8db50a2514b8da2c461bc15ede7885e6408.tar.xz
update-archlinux32-package: learn freebasic
-rwxr-xr-xupdate-archlinux32-package11
1 files 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