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/spring') 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 From d87f4e27fed06b11b4ad3076de827b142a582482 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 16 Aug 2018 16:46:20 +0200 Subject: community/spring: gold-linker.patch removed upstream --- community/spring/PKGBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'community/spring') diff --git a/community/spring/PKGBUILD b/community/spring/PKGBUILD index de42cd57..4759b375 100644 --- a/community/spring/PKGBUILD +++ b/community/spring/PKGBUILD @@ -1,11 +1,7 @@ # https://springrts.com/mantis/view.php?id=5413 -for ((i=0; i<${#sha512sums[@]}; i++)); do - if [ "${source[${i}]}" = 'gold-linker.patch' ]; then - break - fi -done -sha512sums[${i}]]='7d29099f589f4ab70262ebb307f905bdaa7e20606421ca2efaf69d391b271d3e1015f44087161106546ebe1ef197dc758c5de0120feff3f473e69ec96555d3a8' +source+=('gold-linker.patch') +sha512sums+=('7d29099f589f4ab70262ebb307f905bdaa7e20606421ca2efaf69d391b271d3e1015f44087161106546ebe1ef197dc758c5de0120feff3f473e69ec96555d3a8') eval "$( declare -f prepare | \ -- cgit v1.2.3-70-g09d2