Strip version suffix

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-07-06 23:14:14 +02:00
parent 5de4aa93b9
commit d6fb67e6a4
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ url="https://github.com/fatih/vim-go"
license=(other)
makedepends=('go')
source=("build.sh" "tools.txt")
sha512sums=('225301ca5a3435d70a12628f55a6174487a59970596a23010c52b4e6554573a0bb9e16d01e4e08211cd1301272142acf195e1a7b97b0ee007ae8cbe757387d70'
sha512sums=('ee180fa557e4fe57003a67d4fe19747c6452d5fb39de78265827bfd4baa3aff26ebd8984ebc3cf0d7b22342d66dbd7bccf9d8adecc3498fe0d496376ef5d3e86'
'22f980e0cbceef4a8782b0c544d7d0601e90c35aef45b6098888fe1c479f8b1089011a00ce3557fe3617076cb991875274a36a06417b673b9c593fb7f73ecb7d')
build() {

View file

@ -5,5 +5,5 @@ packages=($(cat tools.txt))
for package in "${packages[@]}"; do
echo -e "\e[96mBuilding ${package}...\e[m" >&2
go get -u -v "${package}"
go get -u -v "${package%@*}"
done