blob: 8d0c654ea35aa924c0ee80fc2a0504d70ef195f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 123739 2011-05-12 20:48:23Z andrea $
# Maintainer:
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: damir <damir@archlinux.org>
pkgname=gnugo
pkgver=3.8
pkgrel=2
pkgdesc="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
}
|