summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLegacy Installer2022-05-08 19:06:14 +0530
committerLegacy Installer2022-05-08 19:06:14 +0530
commit7717ea48ec30537968558954783a6ac0c83d3c02 (patch)
tree56ae2c6bfb702873cefc178286757c630b4782c7
parent38d1d39c7bb39bc8167f06414eb6116b16812db6 (diff)
downloadaur-7717ea48ec30537968558954783a6ac0c83d3c02.tar.gz
Fixed the package and change the maintainer's name
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD22
2 files changed, 21 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 640558533919..b3d887948473 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = crafty
pkgdesc = A free, open-source computer chess program developed by Dr. Robert M. (Bob) Hyatt
pkgver = 25.2
- pkgrel = 3
+ pkgrel = 4
url = http://www.craftychess.com/
arch = i686
arch = x86_64
license = custom
makedepends = gzip
- source = http://www.craftychess.com/downloads/source/crafty-25.2.zip
- source = http://www.craftychess.com/downloads/book/start.pgn.gz
- source = http://www.craftychess.com/downloads/book/startc.pgn.gz
- source = http://www.craftychess.com/downloads/book/book.bin
+ source = https://web.archive.org/web/20210304095819/https://www.craftychess.com/downloads/source/crafty-25.2.zip
+ source = https://web.archive.org/web/20170315111827/https://www.craftychess.com/downloads/book/start.pgn.gz
+ source = https://web.archive.org/web/20170315114413/https://www.craftychess.com/downloads/book/startc.pgn.gz
+ source = https://web.archive.org/web/20170315073701/https://www.craftychess.com/downloads/book/book.bin
source = copyright
source = crafty.6
source = crafty.doc.v18.html
@@ -25,16 +25,16 @@ pkgbase = crafty
md5sums = 880279c223dc34164837a351faafe2f0
md5sums = 7a53d5f09d2baa5e7f0df4ee81961cfb
md5sums = f8f93189c64324b1959a489da822438e
- md5sums = 438cec9f32fb79f58822f97cf64e7afb
- md5sums = 8f9c577aa6e99bb3e5ada83d1868a8ad
- md5sums = 584ef65843016328d67a7c9df4007e87
- md5sums = f744727e291b6dec7e7c69bb3586b6dd
+ md5sums = 438cec9f32fb79f58822f97cf64e7afb
+ md5sums = 8f9c577aa6e99bb3e5ada83d1868a8ad
+ md5sums = 584ef65843016328d67a7c9df4007e87
+ md5sums = f744727e291b6dec7e7c69bb3586b6dd
md5sums = 1f8f06ace9f9703297c4adae867e8d34
- md5sums = d345e23aea028ead565d608002b2e353
+ md5sums = d345e23aea028ead565d608002b2e353
md5sums = 1e911ca0812ef14f21e40821dda5c1cd
- md5sums = 02c7ab07c0ff8f77738a055772f4406d
- md5sums = 9db34746e90ceb116d162a5fa727f7e0
- md5sums = 178436e4fdacdecd58d0bbdeb9aba924
+ md5sums = 02c7ab07c0ff8f77738a055772f4406d
+ md5sums = 9db34746e90ceb116d162a5fa727f7e0
+ md5sums = 178436e4fdacdecd58d0bbdeb9aba924
pkgname = crafty
diff --git a/PKGBUILD b/PKGBUILD
index b694bb943698..66a7de303966 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,19 @@
-# Maintainer : Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
+# Maintainer : Legacy Installer <contact [dot] legacyinstaller [at] gmail [dot] com>
+# Contributor: Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
-_build_book=0 # 0=Uses defauld book.bin
- # 1=Builds book.bin from book.pgn (Recommended if big book file not bothers you.)
-
pkgname=crafty
pkgver=25.2
-pkgrel=3
+pkgrel=4
makedepends=('gzip')
pkgdesc="A free, open-source computer chess program developed by Dr. Robert M. (Bob) Hyatt"
arch=('i686' 'x86_64')
url="http://www.craftychess.com/"
license=('custom')
-source=("http://www.craftychess.com/downloads/source/$pkgname-$pkgver.zip"
- "http://www.craftychess.com/downloads/book/start.pgn.gz"
- "http://www.craftychess.com/downloads/book/startc.pgn.gz"
- "http://www.craftychess.com/downloads/book/book.`[[ "$_build_book" = '0' ]] && echo bin || echo pgn.gz`"
+source=("https://web.archive.org/web/20210304095819/https://www.craftychess.com/downloads/source/$pkgname-$pkgver.zip"
+ "https://web.archive.org/web/20170315111827/https://www.craftychess.com/downloads/book/start.pgn.gz"
+ "https://web.archive.org/web/20170315114413/https://www.craftychess.com/downloads/book/startc.pgn.gz"
+ "https://web.archive.org/web/20170315073701/https://www.craftychess.com/downloads/book/book.bin"
"copyright"
"crafty.6"
"crafty.doc.v18.html"
@@ -29,7 +27,7 @@ source=("http://www.craftychess.com/downloads/source/$pkgname-$pkgver.zip"
md5sums=('d8ad87d9b0fc39a437595203d7b302fc'
'880279c223dc34164837a351faafe2f0'
'7a53d5f09d2baa5e7f0df4ee81961cfb'
- "`[[ "$_build_book" = '0' ]] && echo f8f93189c64324b1959a489da822438e || echo 05efad71289b2d328da5110df4a19f85`"
+ 'f8f93189c64324b1959a489da822438e'
'438cec9f32fb79f58822f97cf64e7afb'
'8f9c577aa6e99bb3e5ada83d1868a8ad'
'584ef65843016328d67a7c9df4007e87'
@@ -59,10 +57,6 @@ build() {
# create crafty's rc-files within the BUILD directory
homeorj=$HOME; HOME=.
msg "Creating bookfiles, this might take a moment..."
- if [[ "$_build_book" = '1' ]]; then
- msg "Creating book.bin..."
- ./crafty "book create book.pgn 60" quit
- fi
# create books.bin (for crafty's opening strategy)
msg "Creating books.bin..."
./crafty "books create start.pgn 60" quit