Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/dwarffortress
diff options
context:
space:
mode:
Diffstat (limited to 'community/dwarffortress')
-rw-r--r--community/dwarffortress/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/dwarffortress/PKGBUILD b/community/dwarffortress/PKGBUILD
index 2563eacb..69c67ebb 100644
--- a/community/dwarffortress/PKGBUILD
+++ b/community/dwarffortress/PKGBUILD
@@ -1,2 +1,7 @@
-source_i686=(http://www.bay12games.com/dwarves/df_${_pkgver}_linux32.tar.bz2)
-sha256sums_i686=('b92ae26f00aaea8678892a735d2dbad89d5701085d22cb315c462346dc2431ad')
+for ((i=${#source[@]}; i>0; i--)); do
+ if [ "${source[${i}]}" = "http://www.bay12games.com/dwarves/df_${_pkgver}_linux.tar.bz2" ]; then
+ break;
+ fi
+done
+source[${i}]="http://www.bay12games.com/dwarves/df_${_pkgver}_linux32.tar.bz2"
+sha256sums[${i}]='b92ae26f00aaea8678892a735d2dbad89d5701085d22cb315c462346dc2431ad'