upgpkg: ocaml-topkg 1.0.5-2
[arch-packages.git] / gnugo / trunk / PKGBUILD
blob1923663dad42aa41bc3d11f9f752df2b4cf6896e
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Jason Chu <jason@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # Contributor: damir <damir@archlinux.org>
6 pkgname=gnugo
7 pkgver=3.8
8 pkgrel=7
9 pkgdesc='Program that plays the game of Go'
10 url='https://www.gnu.org/software/gnugo/'
11 license=('GPL3')
12 arch=('x86_64')
13 depends=('ncurses')
14 validpgpkeys=('67CCE2F5220D3E03024A175B68E7E09135C3EC3E')
15 source=("https://ftp.gnu.org/gnu/gnugo/${pkgname}-${pkgver}.tar.gz"{,.sig})
16 sha256sums=('da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72'
17             'SKIP')
19 build() {
20         cd "${srcdir}/${pkgname}-${pkgver}"
21         CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
22         ./configure --prefix=/usr
23         make
26 package() {
27         cd "${srcdir}/${pkgname}-${pkgver}"
28         make DESTDIR="${pkgdir}" install
29         rm -r "${pkgdir}"/usr/share/info