From d6fb67e6a4c4eeccbc5014d76b6711573f67fc9c Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 6 Jul 2019 23:14:14 +0200 Subject: [PATCH] Strip version suffix Signed-off-by: Knut Ahlers --- PKGBUILD | 2 +- build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 848b302..c26d8b5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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() { diff --git a/build.sh b/build.sh index c264bcd..ba4939b 100644 --- a/build.sh +++ b/build.sh @@ -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