summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorozgursarier2018-06-04 05:37:55 +0300
committerozgursarier2018-06-04 05:37:55 +0300
commit1cccf8f0f962fdfb854448543e6b23827960942e (patch)
tree60e9613399206c21fd5d48fdf30dc1aae2b2370a
parent1f9f2c68c9605f1279ceb38c6a9c29f9b35e75f0 (diff)
downloadaur-1cccf8f0f962fdfb854448543e6b23827960942e.tar.gz
Update to 9-1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD37
-rw-r--r--stockfish.install10
3 files changed, 21 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5aa4467c63..ceaf5de79f1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,16 @@
# Generated by mksrcinfo v8
-# Fri Jan 20 16:01:30 UTC 2017
+# Mon Jun 4 02:37:29 UTC 2018
pkgbase = stockfish
pkgdesc = A strong chess engine written by Tord Romstad, Marco Costalba, Joona Kiiski
- pkgver = 8
- pkgrel = 2
- epoch = 1
+ pkgver = 9
+ pkgrel = 1
url = https://stockfishchess.org/
- install = stockfish.install
arch = i686
arch = x86_64
license = GPL3
depends = glibc
- source = https://stockfish.s3.amazonaws.com/stockfish-8-src.zip
- sha512sums = 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1
+ source = https://stockfish.s3.amazonaws.com/stockfish-9-src.zip
+ sha512sums = 47b5dfea9e015dd68e33c8b1a131ed83710e4e5d67abe0c278a423f2940b07c7a5d661ce27915257ae3dad83fc2bb8e50d3d28bfa11a7c4cdf396d0378cd80f8
pkgname = stockfish
diff --git a/PKGBUILD b/PKGBUILD
index fd97608f881..79ec3079c39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,35 @@
-# Maintainer: user6553591 <Message on Reddit>
+# Maintainer : Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
+# Contributor: user6553591 <Message on Reddit>
# Contributor: P. Badredin <p dot badredin at gmail dot com>
# Contributor: Justin Blanchard <UncombedCoconut at gmail dot com>
# Contributor: Auguste Pop < auguste [at] gmail [dot] com >
pkgname=stockfish
-pkgver=8
-pkgrel=2
-epoch=1
+pkgver=9
+pkgrel=1
pkgdesc="A strong chess engine written by Tord Romstad, Marco Costalba, Joona Kiiski"
arch=('i686' 'x86_64')
url="https://stockfishchess.org/"
license=('GPL3')
depends=('glibc')
-install=${pkgname}.install
-_pkgfilename=${pkgname}-${pkgver}-src
-source=("https://${pkgname}.s3.amazonaws.com/${_pkgfilename}.zip")
-sha512sums=('4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1')
+source=("https://${pkgname}.s3.amazonaws.com/${pkgname}-${pkgver}-src.zip")
+sha512sums=('47b5dfea9e015dd68e33c8b1a131ed83710e4e5d67abe0c278a423f2940b07c7a5d661ce27915257ae3dad83fc2bb8e50d3d28bfa11a7c4cdf396d0378cd80f8')
-build()
-{
- cd "$srcdir/${_pkgfilename}/src"
+build() {
+ cd "$srcdir/src"
- if [[ "$CARCH" == "i686" ]];
- then
- _arch=x86-32
- elif grep popcnt /proc/cpuinfo 2>&1
- then
- _arch=x86-64-modern
+ if [[ "$CARCH" == "i686" ]]; then
+ _arch=x86-32
+ elif grep popcnt /proc/cpuinfo 2>&1; then
+ _arch=x86-64-modern
else
- _arch=x86-64
+ _arch=x86-64
fi
+
make profile-build ARCH=$_arch
}
-package()
-{
- cd "$srcdir/${_pkgfilename}/src"
+package() {
+ cd "$srcdir/src"
make PREFIX="$pkgdir/usr" install
}
diff --git a/stockfish.install b/stockfish.install
deleted file mode 100644
index 0f2a13873a9..00000000000
--- a/stockfish.install
+++ /dev/null
@@ -1,10 +0,0 @@
-post_install() {
-cat << EOM
-
- ==>
- ==> Official builds using the Intel compiler are likely to be stronger.
- ==>
-
-EOM
-}
-