mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:37:14 +08:00
37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=gnugo
|
|
pkgver=3.8
|
|
pkgrel=2
|
|
pkgdesc="This sofware is a program that plays the game of Go"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/gnugo/"
|
|
license=('GPL3' 'custom')
|
|
depends=('ncurses' 'glibc' 'texinfo')
|
|
install=gnugo.install
|
|
source=("http://ftp.gnu.org/gnu/gnugo/$pkgname-$pkgver.tar.gz"
|
|
'LICENSE')
|
|
md5sums=('6db0a528df58876d2b0ef1659c374a9a'
|
|
'4df5819356804397c553c95ea8164f11')
|
|
|
|
build() {
|
|
cd "${srcdir}"/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/$pkgname-$pkgver
|
|
make DESTDIR="${pkgdir}" install
|
|
rm -r "${pkgdir}"/usr/share/info/dir
|
|
gzip "${pkgdir}"/usr/share/info/*
|
|
install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|