addpkg(main/dateutils): 0.4.11 (#19707)

This commit is contained in:
Biswapriyo Nath 2024-04-08 23:49:08 +05:30 committed by GitHub
parent 2c3faf8f38
commit 12b8c94ec5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
TERMUX_PKG_HOMEPAGE="https://www.fresse.org/dateutils/"
TERMUX_PKG_DESCRIPTION="Command line date and time utilities"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.4.11"
TERMUX_PKG_SRCURL=https://github.com/hroptatyr/dateutils/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9041b220b8cdb0e4e12292d8f71e7ad65fffd67873e96a3e52bfd226240deaec
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS='--with-old-links=no'
termux_step_host_build() {
pushd $TERMUX_PKG_SRCDIR
autoreconf -fi
./configure
make -C build-aux yuck-bootstrap yuck.yucc yuck
# Cleanup Makefile to prevent compiling with host parameters
find -name Makefile -exec rm {} \;
popd
}