mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
28 lines
715 B
Bash
28 lines
715 B
Bash
|
|
pkgname=gnugo
|
|
pkgver=3.8
|
|
pkgrel=4
|
|
pkgdesc="This sofware is a program that plays the game of Go"
|
|
arch=('x86_64')
|
|
url="http://www.gnu.org/software/gnugo/"
|
|
license=('GPL3' 'custom')
|
|
depends=('ncurses' 'glibc' 'texinfo')
|
|
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
|
|
}
|