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>
9 pkgdesc='Program that plays the game of Go'
10 url='https://www.gnu.org/software/gnugo/'
14 validpgpkeys=('67CCE2F5220D3E03024A175B68E7E09135C3EC3E')
15 source=("https://ftp.gnu.org/gnu/gnugo/${pkgname}-${pkgver}.tar.gz"{,.sig})
16 sha256sums=('da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72'
20 cd "${srcdir}/${pkgname}-${pkgver}"
21 CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
22 ./configure --prefix=/usr
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 make DESTDIR="${pkgdir}" install
29 rm -r "${pkgdir}"/usr/share/info