mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
30 lines
721 B
Bash
30 lines
721 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=gnuchess
|
|
pkgver=5.08
|
|
pkgrel=1
|
|
pkgdesc="Lets most modern computers play a full game of chess."
|
|
url="http://www.gnu.org/software/chess/chess.html"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
depends=('glibc' 'ncurses' 'readline')
|
|
source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('9db91dbac6b5b86de0c57a420a9fea57')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make prefix=$pkgdir/usr install
|
|
}
|