From f88a10a63c3de0c70c304d90cd27bc5879973fc5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 16 Aug 2018 16:43:30 +0200 Subject: community/spring: make patch position-independent --- community/spring/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'community') diff --git a/community/spring/PKGBUILD b/community/spring/PKGBUILD index 749aaed2..de42cd57 100644 --- a/community/spring/PKGBUILD +++ b/community/spring/PKGBUILD @@ -1,6 +1,11 @@ # https://springrts.com/mantis/view.php?id=5413 -sha512sums[1]='7d29099f589f4ab70262ebb307f905bdaa7e20606421ca2efaf69d391b271d3e1015f44087161106546ebe1ef197dc758c5de0120feff3f473e69ec96555d3a8' +for ((i=0; i<${#sha512sums[@]}; i++)); do + if [ "${source[${i}]}" = 'gold-linker.patch' ]; then + break + fi +done +sha512sums[${i}]]='7d29099f589f4ab70262ebb307f905bdaa7e20606421ca2efaf69d391b271d3e1015f44087161106546ebe1ef197dc758c5de0120feff3f473e69ec96555d3a8' eval "$( declare -f prepare | \ -- cgit v1.2.3-70-g09d2