mirror of
https://github.com/termux/termux-packages
synced 2024-06-18 14:57:08 +00:00
4560a00994
This commit has been automatically submitted by Github Actions.
21 lines
648 B
Bash
21 lines
648 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/benhsm/minesweeper
|
|
TERMUX_PKG_DESCRIPTION="A simple terminal-based implementation of Minesweeper"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.3.1"
|
|
TERMUX_PKG_SRCURL=https://github.com/benhsm/minesweeper/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=18d33713b0ab1d3ee40741ba712124fc973e8d6cffd6e5d5649c358a0cbf30b2
|
|
TERMUX_PKG_GROUPS="games"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
|
|
go build -o minesweeper
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm755 -t "${TERMUX_PREFIX}"/bin minesweeper
|
|
}
|