2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gnugo/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Program that plays the game of Go"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2021-03-01 22:16:06 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_VERSION=3.8
|
2021-11-27 07:34:26 +01:00
|
|
|
TERMUX_PKG_REVISION=4
|
2016-09-25 00:42:39 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gnugo/gnugo-${TERMUX_PKG_VERSION}.tar.gz
|
2017-03-27 03:29:43 +02:00
|
|
|
TERMUX_PKG_SHA256=da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DEPENDS="ncurses, readline"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-readline"
|
2019-08-13 15:19:08 +02:00
|
|
|
TERMUX_PKG_HOSTBUILD=true
|
2021-12-18 10:31:10 +01:00
|
|
|
TERMUX_PKG_GROUPS="games"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2016-09-04 00:45:08 +02:00
|
|
|
termux_step_pre_configure() {
|
2021-11-27 09:59:00 +01:00
|
|
|
CFLAGS+=" -Wno-overflow -fcommon"
|
2016-09-04 00:45:08 +02:00
|
|
|
}
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_post_configure () {
|
|
|
|
cp $TERMUX_PKG_HOSTBUILD_DIR/patterns/mkeyes $TERMUX_PKG_BUILDDIR/patterns/mkeyes
|
|
|
|
cp $TERMUX_PKG_HOSTBUILD_DIR/patterns/uncompress_fuseki $TERMUX_PKG_BUILDDIR/patterns/uncompress_fuseki
|
|
|
|
cp $TERMUX_PKG_HOSTBUILD_DIR/patterns/joseki $TERMUX_PKG_BUILDDIR/patterns/joseki
|
|
|
|
cp $TERMUX_PKG_HOSTBUILD_DIR/patterns/mkmcpat $TERMUX_PKG_BUILDDIR/patterns/mkmcpat
|
|
|
|
cp $TERMUX_PKG_HOSTBUILD_DIR/patterns/mkpat $TERMUX_PKG_BUILDDIR/patterns/mkpat
|
2017-04-18 08:19:48 +02:00
|
|
|
touch -d "next hour" $TERMUX_PKG_BUILDDIR/patterns/*
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|