Update gnuchess to 6.2.0.

This commit is contained in:
Jeff Huang 2015-01-04 22:58:14 +00:00
parent 7c65b010c8
commit 34db7fd8ed
2 changed files with 17 additions and 3 deletions

View File

@ -4,16 +4,17 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.org>
pkgname=gnuchess
pkgver=6.1.2
pkgver=6.2.0
pkgrel=1
pkgdesc="Application able to play chess (against another software or a human)"
url="http://www.gnu.org/software/chess/chess.html"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('readline')
depends=('bash')
install=$pkgname.install
categories=('games')
source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
md5sums=('44e1d96f0eb04751351eccb22973e06f')
md5sums=('04aaadbe43efb50072cd85148b2eacef')
build() {
cd $srcdir/$pkgname-$pkgver

13
gnuchess/gnuchess.install Normal file
View File

@ -0,0 +1,13 @@
infodir=/usr/share/info
post_install() {
install-info $infodir/gnuchess.info.gz $infodir/dir 2> /dev/null
}
post_upgrade() {
post_install
}
pre_remove() {
install-info --delete $infodir/gnuchess.info.gz $infodir/dir 2> /dev/null
}