summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTod Jackson2020-01-29 00:17:27 -0700
committerTod Jackson2020-01-29 00:17:27 -0700
commite1e3f0b52404edd15fefb2b6d678b448efc294f9 (patch)
tree887fda7412e2fab205df8b26d1abb5cbaed61869
parent570a056a4d26b5db6629822aea582b630aadc28a (diff)
downloadaur-e1e3f0b52404edd15fefb2b6d678b448efc294f9.tar.gz
Re-order so bmi2 is first if available
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af6c894b80e..55d69d76b9d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = stockfish
pkgdesc = A strong chess engine written by Tord Romstad, Marco Costalba, Joona Kiiski
pkgver = 11
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://stockfishchess.org/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 637bc9600f7..8bfd34f688a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=stockfish
pkgver=11
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="A strong chess engine written by Tord Romstad, Marco Costalba, Joona Kiiski"
arch=('i686' 'x86_64' 'armv7')
@@ -21,10 +21,10 @@ build() {
cd "$pkgname-$pkgver-linux/src"
if [[ "$CARCH" == "i686" ]]; then
_arch=x86-32
- elif grep popcnt /proc/cpuinfo 2>&1; then
- _arch=x86-64-modern
elif grep bmi2 /proc/cpuinfo 2>&1; then
_arch=x86-64-bmi2
+ elif grep popcnt /proc/cpuinfo 2>&1; then
+ _arch=x86-64-modern
elif [[ "$CARCH" == "armv7h" ]]; then
_arch=armv7
else