2019-06-12 12:38:37 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
curl -sSfL "https://raw.githubusercontent.com/fatih/vim-go/master/plugin/go.vim" |
|
|
|
|
grep -Eo "\\ \['[^']*/[^']*'" |
|
|
|
|
tr -d "[' " |
|
|
|
|
sort >tools.txt.new
|
|
|
|
|
|
|
|
diff tools.txt tools.txt.new && {
|
|
|
|
echo "Up to date"
|
|
|
|
rm tools.txt.new
|
|
|
|
exit 0
|
|
|
|
} || true
|
|
|
|
|
|
|
|
mv tools.txt.new tools.txt
|
|
|
|
updpkgsums
|
|
|
|
|
|
|
|
makepkg --printsrcinfo >.SRCINFO
|
|
|
|
|
|
|
|
git add tools.txt .SRCINFO PKGBUILD
|
2019-07-09 22:19:44 +00:00
|
|
|
git commit -m "Update tools $(date +%Y.%m.%d)"
|