On 25.05.2021 18:40, Daisuke Fujimura via Cygwin-apps wrote:
Hello,

[ITP] A new package proposal: tty-clock

- tty-clock

====

SUMMARY: Clock using lib ncurses
HOMEPAGE: https://github.com/xorg62/tty-clock
SRC_URL: https://github.com/xorg62/tty-clock/archive/refs/tags/v2.3.tar.gz
LICENSE: BSD-3-Clause License

====

attached modified cygport

- added BUILD_REQUIRES
- defined VERSION="2.3" and RELEASE=1 explicitly

1bl1 is not a good release number
NAME="tty-clock"
VERSION="2.3"
RELEASE=1

HOMEPAGE="https://github.com/xorg62/${PN}";
SRC_URI="https://github.com/xorg62/${PN}/archive/v${PV}.tar.gz";

CATEGORY="Utils"
SUMMARY="Clock using lib ncurses"
DESCRIPTION="${SUMMARY}"

BUILD_DEPENDS="libncurses-devel"

src_compile()
{
        cd ${B}
        lndirs
        cygmake
}

src_test()
{
        cd ${B}
        ./${PN}.exe -v
}

src_install()
{
        cd ${B}
        dobin ${PN}.exe
        doman ${PN}.1
}

Reply via email to